✦ Chattill
Browse documentation
Developers

API authentication and safe integration

Authenticate tenant-scoped Chattill API requests, store credentials safely and handle quotas and errors.

For Developers and technical administrators8 min readUpdated

Choose the correct credential

CredentialUse
Organization API keyPreferred for tenant-scoped /api/v1 integrations.
Personal API tokenUser-scoped access where explicitly supported; it follows that user’s organization access.
Inbound sender tokenDedicated credential for POST /api/send from an external system.
Browser sessionInteractive Chattill UI only; do not copy its cookie into an integration.

Send an organization API key

http
Authorization: Bearer YOUR_API_KEY

Create keys from the authenticated API Keys page when your plan includes the public API. A key is shown only when created. Store it in a server-side secret manager, never in browser JavaScript, screenshots or source control.

Handle responses defensively

StatusAction
400Fix the request fields or query format.
401Provide a current supported credential.
403Check tenant access, plan or organization status.
404The tenant-owned resource was not found.
429Honor Retry-After and retry with backoff.
5xxRetry only safe idempotent reads, use backoff, and preserve diagnostics without secrets.

Machine-readable specification

The supported public endpoints are described in the OpenAPI 3.1 document at /docs/openapi.json. Treat undocumented internal browser endpoints as private and subject to change.

Ready to use this in your workspace?

Sign in to continue setup, or review the tenant go-live checklist before sending live traffic.