Base URL
/api/v0/. For example, to list your agents you call:
Authentication
The API supports two authentication methods.Company API Key
Include your Company API Key in theX-API-Key request header. This is the simplest method and is scoped to your company account.
Personal Access Key (pak_)
Personal Access Keys begin withpak_. Pass the key as a Bearer token in the Authorization header. If the key is associated with multiple companies, also include the X-Company-ID header to specify which company context to use.
Keep your API keys secret. Never expose them in client-side code or public repositories. Rotate them immediately if you suspect they have been compromised.
Response Format
All responses — including errors — are JSON. Successful responses return the requested resource or a confirmation message. The HTTP status code indicates whether the request succeeded.Error Format
When a request fails, the response body contains a singleerror field describing what went wrong:
HTTP Status Codes
Pagination
List endpoints acceptpage and pageSize query parameters and return a consistent envelope:
Paginated response envelope:
API Resources
Agents
Create and manage AI agents with custom prompts, channels, and branding.
Chat
Send messages to agents and retrieve conversation histories.
Smart Lists
Manage contact lists and the contacts within them.
Sequences
Build and trigger multi-step automated messaging sequences.
Documents
Upload and manage knowledge base documents for your agents.
Audio / Media
Transcribe audio and manage media assets.
Browser
Extract web content for use in agent knowledge bases.
Keys
Create and manage Company API Keys and Personal Access Keys.
MCP
Connect external tools and data sources via the Model Context Protocol.
