Skip to main content

Inbox

Quick guide​

A conversation holds everything exchanged with one contact on one channel. It starts when the contact writes to you.

  1. List the conversations with GET /inbox/conversations: the active ones by default, the others with section=ARCHIVED or section=TRASHED, only the unread ones with unreadOnly=true.
  2. Read a conversation with GET /inbox/conversations/{chatId}/messages, 20 messages at a time. Reading the latest messages also marks it as read.
  3. Reply with POST /inbox/conversations/reply: the reply leaves on the channel of the conversation. Some channels accept replies only for a while, such as the 24 hours of WhatsApp.
  4. Archive the conversations you have dealt with: an archived conversation comes back by itself when the contact writes again.

To learn about new messages without polling, register a webhook: every message a contact sends you arrives as an INBOUND event. To share the work in your team, see Conversation assignment.

Use cases: UC-015: Two-Way Conversation · UC-016: Manage the Inbox · UC-017: Download Inbound Media