Labels
Callbacks that Whapi.Cloud generates when using Labels in WhatsApp
Last updated
Was this helpful?
Callbacks that Whapi.Cloud generates when using Labels in WhatsApp
Last updated
Was this helpful?
You can find more details about all parameters and their types in .
Set the specified events in the webhook settings to receive some information about their changes. We mentioned more about the events here:
Use the labels.post
setting to get this webhook.
Use the labels.delete
setting to get this webhook.
Currently, if you change a label, the system will trigger the same event as if a new label had been created. Please keep this in mind. We will update this page if in the future we can distinguish between new labels and updates to existing labels.
Pay attention to the information that has been updated in the changes
array.
contact_id*
ContactID string
pattern: ^([\d]{7,15})?$
Contact ID
last_seen
number
Last seen timestamp
status
string
Presence status
Enum: [ online, offline, typing, recording, pending ]
Use the chats.patch
setting to get this webhook. Note that chats.patch sends notifications putting in the callback information that was there before the entity was updated and after the entity was updated, showing the difference and what has changed. We have described this in more detail here: