Update a Chat

Updates the specified chat by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

ID of the Chat to update.

string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Body Params
string

A custom name for the chat. Some providers allow custom names only on groups.

boolean

If supported, set to true to pin the chat at the top of the list, or false to unpin it.

boolean

If supported, set to true to archive the chat, or false to move it back to the main inbox.

string

If supported, associate the chat with the given label. For Whatsapp, this is resolved by label name and created if missing.

If supported, the date until which the conversation should be muted. Else true to mute the chat for an indefinite time, else false to un-mute an already muted chat.

boolean

Set to true to mark the chat as read. This is useful when displaying the list of messages in your app. Set to false to mark the chat as unread.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json