Skip to content
Sign inStart free trial

API keys

Connect external tools to ChatAgent with a key bound to your organization and your role.

An API key lets an external tool, such as an automation platform or your own script, call ChatAgent on your behalf. Each key belongs to one person and one organization.

The API keys settings page

  1. Open Settings → API keys and choose Create API key.
  2. Name it after the integration and environment, such as Zapier production.
  3. Copy the key and store it in your tool’s secret manager.

A key acts with its creator’s current permissions in the organization, with one limit: conversations are read-only. A key cannot send messages to customers.

The key follows its creator. If their role changes, the key’s access changes too. If they leave the organization, the key stops working.

The list shows each key’s name, who created it and when it was last used.

  • Rotate creates a replacement. The old key stops working immediately, so update your integration right away.
  • Revoke stops the key immediately and removes it from the list. This cannot be undone.

Members manage their own keys. Owners and admins can manage every key in the organization.

Send the key in the x-api-key header to https://api.chatagent.so. For example, to list customers:

Terminal window
curl https://api.chatagent.so/contacts \
-H "x-api-key: $CHATAGENT_API_KEY"

Responses are JSON in this shape:

{
"message": "contacts fetched successfully",
"data": { }
}

The API is the same one the ChatAgent app uses. A stable, versioned public reference is not published yet, so endpoints may change. If you are building an integration, email hello@chatagent.so and we will help you pick the right endpoints.

For working with ChatAgent from an AI assistant, use the MCP server instead. It needs no key.