SendWave API icon

SendWave API

Interactuar con SendWave API

Profile → Update Privacy Settings

AI-generated

Summary

Update Privacy Settings for a SendWave API instance

Inputs

  • instanceName (required) — The SendWave instance name to target.
  • apiKey — Optional API key override; if omitted, the node's credentials are used.
  • readReceipts (required) — Who can see when you read messages. Options: Everyone (all), No One (none).
  • profilePhoto (required) — Who can see your profile photo. Options: Everyone (all), My Contacts (contacts), Except Specific Contacts (contact_blacklist), No One (none).
  • status (required) — Who can see your status. Options: Everyone (all), My Contacts (contacts), Except Specific Contacts (contact_blacklist), No One (none).
  • online (required) — Who can see when you are online. Options: Everyone (all), Match Last Seen (match_last_seen).
  • lastSeen (required) — Who can see your last seen timestamp. Options: Everyone (all), My Contacts (contacts), Except Specific Contacts (contact_blacklist), No One (none).
  • groupsAdd (required) — Who can add you to groups. Options: Everyone (all), My Contacts (contacts), Except Specific Contacts (contact_blacklist).

Output shape

object

Typically returns the API response confirming the updated privacy settings.

Examples

Example 1: Set privacy so only contacts can see profile photo and status, while read receipts are visible to everyone.

Set instanceName to your instance, readReceipts=all, profilePhoto=contacts, status=contacts, online=all, lastSeen=contacts, groupsAdd=all.

Discussion