Skip to content
Implementation guides

Build an inbox around the conversations you can act on.

A useful shared inbox keeps the account, conversation and available action together. Start with those identities and make partial account failures visible instead of flattening them into an empty inbox.

What you will build

A conversation view with account-aware history and replies only where the API supports them.

In this guide

Before you start

  • Connected accounts with the necessary platform permissions.
  • A test key that can read the intended profiles; a writable key for reply tests.
  • A server-side integration that preserves account and conversation IDs together.

Use a test key for the walkthrough. Account access and the available operations still depend on the connected platform and its permissions.

List the eligible conversations.

List conversations with accountId for a single account, or omit it to read across eligible accounts. Eligibility depends on the adapter supporting conversation listing. An account without that capability is skipped; it does not become a fictional empty conversation.

Read meta.accountsFailed and meta.failedAccounts alongside the results. A failure on one account does not fail the whole request. Show those account failures separately from an empty result so a teammate knows which connections need attention.

API operations

  • GET
    /v1/inbox/conversationslistInboxConversations

Keep the account attached to every thread.

Opening a conversation and reading its messages both require the conversationId in the path and accountId in the query. Preserve that pair in your application state; a provider conversation ID alone is not enough context.

Follow the returned cursor in the same conversation and account context. The message read does not change read state, and sortOrderApplied describes the order actually returned. Slack reads through its adapter; Facebook, Instagram, Telegram and WhatsApp reads use retained inbox projections.

API operations

  • GET
    /v1/inbox/conversations/{conversationId}getInboxConversation
  • GET
    /v1/inbox/conversations/{conversationId}/messagesgetInboxConversationMessages

Offer the action that the account supports.

The generic sendInboxMessage operation sends one text message to an existing Slack, Telegram or WhatsApp conversation. Its body requires accountId and message; the conversationId belongs in the path. Do not offer a media attachment through this text-only endpoint.

Telegram and WhatsApp require a retained active conversation. The separate createInboxConversation operation starts a Slack direct message and sends its first message; it requires accountId, participantId and message. It is not a universal way to start a DM on every platform.

API operations

  • POST
    /v1/inbox/conversations/{conversationId}/messagessendInboxMessage
  • POST
    /v1/inbox/conversationscreateInboxConversation

Make a reply an explicit decision.

Show the destination account, recipient and full text before a person confirms a live reply. Use a stable Idempotency-Key for the existing-conversation send. If an outcome is ambiguous, do not retry with a new key and risk sending the same message twice.

Keep read failures, permission failures and uncertain sends distinct in the interface. Verify the supported read and reply flow in test mode before enabling the corresponding controls for live accounts. Reading a conversation does not by itself prove that a reply is supported.

Continue with the source.

Use the full schemas for nested fields and response shapes. Generated skills keep the workflow context available to your coding agent.

Next guideGive your coding agent a concrete integration task.