POST
/
dial
/
scheduled

Headers

authorization
string
required

Your API key for authentication. Use Bearer format.

Body

application/json
number_id
string
required

ID of the phone number that should trigger the call.

assistant_id
string
deprecated

DEPRECATED: Use the use_case_id instead.

voice_id
string
deprecated

DEPRECATED: ID of the voice that the agent will use.

model
string
deprecated

DEPRECATED: Model to use for the call

prompt_id
string

ID of the prompt to use for the call. If empty, default output prompt will be used.

use_case_id
string

ID of the use case that should handle the call.

Required string length: 24
agent_id
string

ID of the agent that should handle the call.

model_id
string

ID of the model that should handle the call.

csv_file
string

Base64 encoded CSV file with phone numbers to call (for backward compatibility).

calls
object[]

Array of calls to schedule.

staggered_interval_minutes
integer

Specifies the interval (in minutes) between each call in the campaign. This setting will be overridden if individual calls have a scheduled_date specified.

campaign_name
string

Name of the campaign.

retry_logic
object[]

Retry logic for the campaign.

language
enum<string>

Language of the call. It will default to use case's default language.

Available options:
en-US,
en-GB,
es-MX,
es-ES,
pt-PT,
de-DE,
fr-FR,
pl-PL,
ro-RO,
it-IT
max_duration_mins
integer

Specifies the maximum duration of the call in minutes. This value takes precedence over the maximum duration specified in the use-case model. If neither is provided, the default duration is 10 minutes.

Response

200 - application/json
createdCalls
object[]
required