Archive a conversation
PATCH/api/partner-gateway/inbox/conversations/:chatId/archive
Archives a conversation: it leaves the default list of GET /inbox/conversations and is listed with section=ARCHIVED.
- Nothing is deleted: the messages and the whole history are kept.
- It comes back on its own: a new inbound message from the contact moves the conversation back to the active inbox. To restore it yourself, call
PATCH /inbox/conversations/{chatId}/unarchive. - The current state is not checked: archiving an already archived conversation answers
204, and a trashed conversation is moved to the archive.
Request
Responses
- 204
- 401
- 404
Conversation archived. No response body.
The API key is missing, invalid, or lacks the INBOX operation.
No conversation with this ID in your account.