Skip to main content
POST
Place an outbound call
Place an outbound call that routes over a SIP Trunk. PolyAI dials to_number and connects the answered call to the specified agent.
Use this endpoint to place calls over your own connected SIP Trunk. To place calls over PolyAI-managed telephony instead, use the Agents API Trigger an outbound call endpoint.
Set the trunk’s outbound.default_caller_id and the SIP addresses your calls route to with Update a SIP Trunk. See Connecting to PolyAI Telephony for the outbound transport details.

Destination number

Provide to_number in one of two ways: country_code is optional. Only supply it when to_number is a national number that needs a region to be parsed — for a full E.164 number, leave it out. The caller_id you present must be in E.164. If you omit it, the trunk’s default caller ID is used. The response returns a call_sid (prefixed with OUT-). Use it with Get outbound call status to monitor the call.

Authorizations

X-API-Key
string
header
required

Path Parameters

trunkId
string
required

The SIP Trunk's friendly ID (e.g. tr-...).

Body

application/json

The details of the outbound call to place.

agent
object
required

The PolyAI agent that handles the outbound call.

to_number
string
required

The destination phone number in E.164, or a national number when country_code is supplied.

Example:

"+447700900123"

caller_id
string

Optional caller ID to present on the call, in E.164 (e.g. +447700900123). If omitted, the trunk's default caller ID is used.

Example:

"+447700900000"

country_code
string

ISO 3166-1 alpha-2 country code used to parse a national to_number.

Example:

"GB"

metadata
object

Optional metadata attached to the call. The encoded payload is capped at roughly 26 KB.

Example:

Response

The call was accepted and queued.

The result of placing an outbound call.

call_sid
string
required

Identifier for the placed call; use it to query the call status. Prefixed with OUT-.

Example:

"OUT-3f2a7c9e-1b4d-4e6a-9c8b-2d5f7a1e0c34"

Last modified on September 3, 2026