Skip to main content

Call Service

The Call Service allows you to manage outbound calls and retrieve call information. You can initiate calls, get call details, and manage call recordings.

Send Call

Initiate an outbound call to a phone number.

Request Body

variables constraints

  • Max 50 keys.
  • Keys must match ^[a-zA-Z][a-zA-Z0-9_]{0,62}$ (start with a letter, then letters/digits/underscores). Keys are case-insensitive, so Foo and foo collide and are rejected.
  • Values must be a string, number, or boolean — no nested objects or arrays. Each value is capped at 1000 characters.
  • The whole variables object must serialize to under 4KB.
  • Invalid payloads return 400 with a message describing the violation.

Example Request

With the variables above, an agent prompt or greeting containing Hi {{var.lead_name}}, calling about your {{var.product}} on {{var.appt_time}}. is rendered as Hi Sarah, calling about your Roof inspection on Tuesday 3pm. before the call connects.

Response

List Calls

Retrieve a list of calls with optional filtering and pagination.

Query Parameters

Response

Get Call

Retrieve details of a specific call.

Parameters

Response

Get Call Recording

Stream the audio recording of a call.

Parameters

Response

The response is an audio stream of the call recording.

Delete Call

Delete a call record.

Parameters

Response