Skip to main content
POST
Create Agent Call

Authorizations

X-API-Key
string
header
required

Workspace API key (e.g. kej_live_...)

Path Parameters

agent_id
string
required

Body

application/json

Create a call using an agent's full configuration.

contact_id
string | null

Existing contact ID

contact
ContactInput · object | null

New contact to create inline

agent_id
string | null

Voice config ID

phone_number_id
string | null

Pin a specific origin phone number

schedule_at
string | null

Schedule for later (ISO 8601)

priority
integer
default:50

Queue priority

Required range: 0 <= x <= 100
config
Config · object | null

Overrides on top of the agent's config

external_reference
string | null

External tracking ID

Maximum string length: 255
context
Context · object | null

Template variables

Response

Successful Response