Quickstart
Create a CALL-E call task, wait for the terminal result, and read the structured output.
This quickstart uses the one-shot Calls API. If your application repeats a workflow that has already been authored and published in CALL-E, start with Goal Runs instead.
Outbound calling is not available in every country or region. Check the current
supported regions and languages
before building an integration. A phone number can be valid E.164 and still be
rejected with unsupported_region; see Errors for recovery guidance.
API key · TypeScript · Python
Install
Install the server SDK package for your runtime:
Code
Set your API key before running the examples:
Code
You can view your API keys in the CALL-E dashboard.
See Authentication for API key handling and server-only usage.
Create a client
TypeScript:
Code
Python:
Code
Minimum request
The minimum create request is task-only. Include the phone number directly in the task when CALL-E should infer the recipient from the instruction. Replace <E164_PHONE> with a phone number you own or are authorized to call.
Code
Create and wait
TypeScript:
Code
Python:
Code
Read the result
The terminal call task includes a stable status, a schema-valid structured result, and task-level outcome fields from the post-call summary. When CALL-E cannot produce a schema-valid result from the evidence, structured_result is null.
See Task completion for how to interpret
task_completed (taskCompleted in TypeScript) and completion_confidence.
TypeScript:
Code
Example output:
Code
Python:
Code
Example output:
Code