Generate your API key
Go to the Dashboard → Settings → API Keys → New key.
- Give it a descriptive name (e.g.,
backend-production,n8n-integration) - Select the required scopes — for this quickstart, check
agents:read,conversations:write, andmessages:send - Click Create
- Copy the key immediately. It is only shown once.
YOUR_KEY with the generated key.Test the health check
Confirm the API is responding and your key is valid:Expected response:If you receive
401, the key is invalid or expired. Check under Settings → API Keys.List your agents
Now fetch the agents configured in your workspace:Save the
id of the agent you want to use in the next step.Send a message via agent
With the Success response (
agent_id in hand, send a message to a contact. The API automatically creates the conversation if it does not exist.201 Created):The
status: "queued" field indicates the message was accepted and is in the send queue. Use webhooks to track delivery in real time.Next steps
Authentication and scopes
Understand all available scopes and security best practices.
Webhooks
Receive real-time events: messages, closed conversations, handoffs.
Rate limits and errors
Per-minute limits, pagination, and all API error codes.
Full API reference
All endpoints with an interactive playground.