Bearer token
Every request includes:Mint a key
1
Open Messages API
Sign in and go to Messages API keys.
2
Create key
Name the key after the service that will hold it (
Production worker, Staging).3
Pick scopes
Defaults (send + read) cover most backends. Add webhooks only if that process registers endpoints.
4
Copy once
The full secret is shown a single time. If you lose it, rotate.
Scopes
Missing scope response:
What this key is for
AI model calls use this same key with the
comms_ai scope — still use the platform, not administer the platform. See Chat completions.
Rotate and revoke
From the Messages API page:- Rotate — issues a new secret; update env vars, then drop the old value.
- Revoke — immediate kill switch. Type the key name to confirm.