Skip to main content
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 at https://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 the X-API-Key header.
You should never expose your API key to client codeIf you really want to ignore this advice for a local demo, use the X-Unsafe-API-Key header instead at your own risk. It works the same way except that our server will allow it in CORS preflight requests.
Here’s an example showing how to use the fictional API key aBCDef.123456 to get a list of calls:
curl --request GET \
--url https://app.altheastudio.ai/api/calls \
--header 'X-API-Key: aBCDef.123456'

Rate Limits

The Althea API includes safeguards to help maximize stability for all customers. Too many API requests can trigger an error with status code 429. 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 for X-API-Key) and test the REST API endpoints.