Collection
Every endpoint, with examples.
Sandbox environment
For trial workspaces.
Production environment
For workspaces that have gone live.
.json file, or import it straight from the link.
Collections for the models
If you only use our text to speech or our language model, these two smaller collections hold just those routes. They use the same environment files and the sameapi_key; test_number is not used.
Text to speech
Speech, voices and your request log.
Language model
Chat completions, with tools and streamed.
Speech to text is in the main collection, in its Speech to text folder.
Import by link
In Postman, choose Import, paste a link, and import. Do it once for the collection and once for the environment you need:Set it up
1
Import the files
In Postman, choose Import and paste the collection link and the link of
the environment you need, or drop in the files you saved. Most people start
with sandbox.
2
Select the environment
Pick sandbox or production from the environment menu at the top
right. The two differ only in
base_url.3
Fill in two values
In the environment, set
api_key to your sk_live_ key from the console’s
Developers page, and test_number to the phone you want test calls to
ring, in E.164 (+919876543210).4
Send the first three requests
Open Agents → Create agent and send it, then Calls → Place a call,
then Calls → Get call. Each request that creates something saves the
new id into a collection variable, so the next request uses it without any
copying.
What is inside
Auth is set once on the collection (
Authorization: Bearer {{api_key}}), so no
request carries a key of its own.