Chat APIs
Update Chat Labels
This endpoint updates the labels for specific chats
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Body
application/json
- An array of chat_ids to update
- A comma-separated list of labels to be assigned to the chats. All labels are case-insensitive.
- If any label currently does not exist, it will be created
- Note: This replaces all the current labels of the chat
Response
204 - application/json
204 No Content
Was this page helpful?