01
REST API reference
Create conversations, send messages, and retrieve history with the REST API.
Authentication
Generate API keys in raia CX. The bundled OpenAPI specification defines the Agent-Secret-Key header for agent operations and Organization-Secret-Key for organization operations; these are not Bearer tokens. Keep secret keys on your backend.
Open the API guide for endpoint groups, request examples, and the bundled OpenAPI reference. Use the schema for your operation rather than adapting an unrelated payload.
- Interactive reference (US): Swagger UI (US)
- Interactive reference (EU region agents): Swagger UI (EU)
- Machine-readable spec: openapi.json