The API is available on the Growth, Scale and Enterprise plans.
Make your first request
List your chatbots with the Actions 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": truechecks 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-Idheader. 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.