Skip to main content
CustomerGPT has two HTTP APIs. Both live under the same base URL and use the same API keys.
The API is available on the Growth, Scale and Enterprise plans.

Make your first request

List your chatbots with the Actions API:
The same list with the REST API:

Conventions

  • JSON in, JSON out. Send Content-Type: application/json.
  • Changes need confirmation. In the Actions API, an action that changes data runs only with "confirm": true, and "dryRun": true checks it without changing anything. See How actions work.
  • Rate limit. The Actions API allows 120 requests per minute per API key. Requests without a key are counted per IP address.
  • Request IDs. Every response has an X-Request-Id header. Include it when you contact support@customergpt.ai about a failed request.
  • Keys stay on your server. The widget’s embed code uses a public Widget ID, not an API key. Never put an API key in a web page or a mobile app.

Machine-readable descriptions

  • OpenAPI 3.1 for the Actions API: https://api.customergpt.ai/api/agents/openapi.json
  • Action catalog with a JSON Schema for every action’s input: https://api.customergpt.ai/api/v1/agents/actions. See List actions.