Get an API KeyUsing the Althea API requires an API key.You can sign-up for a free account that comes with 30 free minutes for creating calls.
Base URL
The Althea API is available athttps://app.altheastudio.ai/api/.
API Keys
Althea API keys are 41 characters long and are made up of two alphanumeric parts separated by a period. The first part is 8 characters long and the second is 32 characters. For example:Zk9Ht7Lm.wX7pN9fM3kLj6tRq2bGhA8yE5cZvD4sT
Throughout the docs we use aBCDef.123456 for brevity.
X-API-Key Header
When making API calls, pass your key in using theX-API-Key header.
Here’s an example showing how to use the fictional API key aBCDef.123456 to get a list of calls:
Rate Limits
The Althea API includes safeguards to help maximize stability for all customers. Too many API requests can trigger an error with status code429. See Scaling & Call Concurrency for more information on 429 errors and how to properly handle them.
Call Concurrency Limits
The number of concurrent calls allowed depends on your plan. See Scaling & Call Concurrency for more details on how call concurrency works in Althea Realtime.Playground
If you want to quickly experiment with prompts and voices, the fastest way to do that is in the Althea Dashboard. You can also paste in an Althea API key throughout the API reference (look for “Authorization” and paste your key where it asks forX-API-Key) and test the REST API endpoints.