Skip to main content

Actions API

A failed action returns "ok": false with an error object and the request ID:
The HTTP status matches error.status. When there’s no specific code, code is HTTP_ plus the status, such as HTTP_404.

Chatbots REST API

The REST endpoints return the standard error shape:
For validation errors, message is a list with one entry per problem. A chatbot that isn’t in your workspace returns 404, not 403, so the API doesn’t reveal which IDs exist.

Rate limits

The Actions API allows 120 requests per minute per API key. Over the limit, you get status 429. Wait a moment, then retry with a growing delay.

Request IDs

Every response has an X-Request-Id header; in the Actions API it’s also in meta.requestId. It isn’t a secret. Log it, and include it when you contact support@customergpt.ai so the request can be found.