"ok" on success.
POST /v1/conversations/open — mark as open
Marks a conversation as open. You can identify the conversation by itschat_id or by a target phone number within an inbox.
Request body
The ID of the conversation to open. Required if
target is not provided.The ID of the inbox containing the conversation.
The contact’s phone number in E.164 format without the leading plus sign (e.g.,
14151234567). Required if chat_id is not provided.An array of phone numbers for group MMS conversations. For example:
["14155554343", "12158375180"].The ID of the user performing the open action. This user is recorded as the conversation opener.
Request example
Example
POST /v1/conversations/close — mark as closed
Marks a conversation as closed (archived). The request body is identical to the open endpoint.Example
Response
Both endpoints return the string"ok" on success.
Related endpoints
To mark a conversation as read, send a
POST request to /v1/conversations/read with the same body shape: inbox_id, target or targets, and user_id.To mark a conversation as unread, send a
POST request to /v1/conversations/unread with the same body shape: inbox_id, target or targets, and user_id.