Authentication
Base URL
The Ultravox API is available at https://api.ultravox.ai/api/
.
API Keys
Ultravox 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.
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://api.ultravox.ai/api/calls \--header 'X-API-Key: aBCDef.123456'
fetch('https://api.ultravox.ai/api/calls', { method: 'GET', headers: { 'X-API-Key': 'aBCDef.123456' }}).then(response => response.json()).then(data => console.log(data)).catch(error => console.error('Error:', error));