Skip to main content

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​

Conversation archived. No response body.