Skip to main content
POST

Autorisierungen

Authorization
string
header
erforderlich

Scoped API token. Required scopes are listed on each operation in x-required-scopes.

Body

application/json
destinations
erforderlich

Up to 10 destinations, either as objects (with optional per-destination variables) or as plain E.164 strings. The two forms cannot be mixed.

Maximum array length: 10
agent_number
string
erforderlich

Your agent's phone number, or its SIP ID if your account connects its own SIP trunk (then also set caller_number).

Beispiel:

"+4921186942846"

caller_number
string

Caller ID shown to the recipient, in E.164 format. Required when agent_number is a SIP ID; ignored otherwise.

Pattern: ^\+\d+$
prompt_variables
object

Shared variables applied to every destination. Cannot be combined with per-destination prompt_variables in the same request - use one or the other.

Beispiel:

Antwort

Request accepted and every destination attempted. Per-destination outcomes are in results.

success
boolean

True when the request was processed; check each row's success for the outcome per destination.

Beispiel:

true

batch_id
string<uuid>

Groups these calls together. Use it with Get a batch.

total
integer

Destinations in the request after deduplication.

Beispiel:

3

succeeded
integer

Destinations that were dialed.

Beispiel:

2

failed
integer

Destinations that were not dialed.

Beispiel:

1

results
object[]

Outcome per destination, in request order.

mode
string

Always direct: calls are dialed immediately.

Allowed value: "direct"