Create a key in the console
- Select the correct organization and open API keys → Create API key.
- Enter a name, select the needed scopes, and optionally set an expiration date.
- Click Create key and save the revealed secret securely. It is shown only once.
For example, a workflow integration that starts, reads, and ends conversations needs
workflows:run, sessions:read, and sessions:delete.
Use the key from your server
Store it in a server environment variable or secret manager and send it asAuthorization: Bearer …. Keep it out of browser bundles, public environment variables, URLs, and logs.
Check the key’s organization, scopes, and expiry: