Skip to main content
This guide takes you from zero to sending a message in a conversation through the API.

Prerequisites

  • An Adraa Inbox workspace with at least one conversation
  • An admin role in the workspace, or an API token from your admin

Get started

1

Create an API token

In the agent console, go to Settings → API, select Create token, and copy the token — it’s shown only once. See Authentication for details.Export it in your shell so the examples below work as-is:
2

Verify the token

Response
3

Find a conversation ID

Open any conversation in the agent console. The conversation ID is the last segment of the URL:
4

List your agents

Fetch the workspace’s agents to get the ID of the agent you want to assign:
Response
5

Assign an agent

Assign an agent to the conversation using an ID from the previous step, or pass ai to assign the workspace’s AI agent:
Response
The assignment appears in the agent console immediately.
6

Send a message

Send a message to the conversation. It’s delivered on the conversation’s channel — web chat, WhatsApp, or email — and shows in the thread as sent by API:
Response
The message shows up in the conversation thread in the agent console and is delivered to the customer on their channel.

Next steps

API reference

Full request and response details for every endpoint.

Authentication

Token management, revocation, and security practices.