1. Get an API key
1
Open the API keys page
Log in to the dashboard and go to Settings → API Keys.
2
Create a key
Click Create Key. The key starts with
ek_.3
Save it
The key is shown only once. Store it in a secret manager or an environment variable. If you lose it, revoke it and create a new one.
2. Make your first request
Send the key as a bearer token. This request lists your batches:401:
3. Talk to your agent
- Place a phone call
- Talk in the browser
You need the The call starts right away. The response tells you it was accepted:Your phone should ring. To check the result later, call
agent_id of an agent in your workspace. Replace the phone number with your own.GET /api/v1/calls/{call_id}. You can also get the result pushed to you with a webhook.