Skip to main content
POST

Authorizations

Authorization
string
header
required

API key from your Sarj.ai dashboard. Pass as: Authorization: Bearer

Body

application/json
phone_number
string
required

Phone number to call in E.164 format.

Example:

"+966512345678"

scenario_id
string
required

ID of the scenario to use for this call.

Minimum string length: 1
variables
Variables · object

Template variables to inject into the scenario.

language
enum<string>
default:ar

Language for the call. Defaults to Arabic (ar) if not specified.

Available options:
en,
ar,
ur
scheduled_at
string<date-time> | null

Book the call for a future time (RFC 3339 with timezone offset) instead of dialing now. Must be at least 10 minutes ahead and within 30 days. The call is created with status 'scheduled' and dialed when due; cancel or reschedule it via the corresponding endpoints while pending.

Example:

"2026-05-01T15:30:00+03:00"

schedule_config_id
string | null

Retry rules for this call, referencing a config created via createScheduleConfig. Omitted, the scenario's default schedule config applies automatically when one is configured.

Example:

"01890000-0000-7000-8000-000000000000"

Response

Successful Response

data
PublicCall · object
required
meta
ResponseMeta · object

Contains request-level metadata included with every public API response.

Last modified on August 19, 2026