Skip to main content
The Agent Chat API gives you programmatic access to everything that happens in your Text conversations. Use it to build automations, connect chat to your internal tools, create custom agent interfaces, or deploy bots that handle routine requests.

Before you start

For access requirements and version support, see:

Authorization
Scopes
API versioning

Choose Web API or RTM API

The Agent Chat API is available as a Web API and an RTM API. Choose between them based on how your integration connects and receives updates.

Agent Chat resources

The Agent Chat Web API resources cover operations that agents and bots can perform when working with customer conversations. For shared chat, thread, event, and user objects, see the Agent Chat API data structures. For a broader comparison, see Messaging APIs.

Calling the API as a bot

To call the Agent Chat API as a bot, use a bot token created with Issue Bot Token. This authenticates the request as the bot, letting it interact with the API. Bots can only use the Web API.

Rate limits

Method calls are rate-limited. If you exceed a limit, requests return a Too many requests error until the limit resets.

Pagination

Use limit to control the page size and sort_order to return the oldest or newest records first. Provide any filters in the first request. The response contains next_page_id and, where supported, previous_page_id. Pass the appropriate value as page_id to move forward or backward. The API reuses the original filters, limit, and sort_order, which can’t be provided along with page_id. Start a new pagination request to change them. The page_id token expires after 1 month.