Skip to main content
POST
Set privacy

Authorizations

Authorization
string
header
required

Instance token (zpfy_inst_...) — sends messages.

Body

application/json
groupAdd
enum<string>
required

Who can add you to groups. ALL = everyone; CONTACTS = all of your contacts; CONTACT_BLACKLIST = your contacts, excluding the ones you put on an exclusion list (WhatsApp's "My contacts except…" option); NONE = nobody.

Available options:
ALL,
CONTACTS,
CONTACT_BLACKLIST,
NONE
Example:

"all"

lastSeen
enum<string>
required

Who can see your "last seen". ALL = everyone; CONTACTS = all of your contacts; CONTACT_BLACKLIST = your contacts, excluding the ones you put on an exclusion list (WhatsApp's "My contacts except…" option); NONE = nobody.

Available options:
ALL,
CONTACTS,
CONTACT_BLACKLIST,
NONE
Example:

"all"

status
enum<string>
required

Who can see your status updates (stories). ALL = everyone; CONTACTS = all of your contacts; CONTACT_BLACKLIST = your contacts, excluding the ones you put on an exclusion list (WhatsApp's "My contacts except…" option); NONE = nobody.

Available options:
ALL,
CONTACTS,
CONTACT_BLACKLIST,
NONE
Example:

"all"

profile
enum<string>
required

Who can see your profile photo. ALL = everyone; CONTACTS = all of your contacts; CONTACT_BLACKLIST = your contacts, excluding the ones you put on an exclusion list (WhatsApp's "My contacts except…" option); NONE = nobody.

Available options:
ALL,
CONTACTS,
CONTACT_BLACKLIST,
NONE
Example:

"all"

readReceipts
enum<string>
required

Read receipts (blue ticks). ALL = on; NONE = off.

Available options:
ALL,
NONE
Example:

"all"

callAdd
enum<string>
required

Who can add you to group calls. ALL = anyone; KNOWN = only known contacts.

Available options:
ALL,
KNOWN
Example:

"all"

online
enum<string>
required

Who can see when you are online. ALL = everyone; MATCH_LAST_SEEN = follows your "last seen" setting.

Available options:
ALL,
MATCH_LAST_SEEN
Example:

"all"

Response

Privacy settings.

data
object