Skip to main content
POST
Create a connection-scoped TeXML call

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string
required

The ID of the connection holding the TeXML application to call from.

Body

Connection-scoped outbound call parameters.

From
string
required

The E.164-formatted phone number or SIP URI to present as the caller.

Example:

"+13120001234"

To
string
required

The E.164-formatted phone number or SIP URI to call.

Example:

"+13121230000"

Texml
string

Inline TeXML instructions to execute when the call is answered.

Example:

"<Response><Say>Hello</Say></Response>"

Url
string

The URL from which to retrieve TeXML instructions. Overrides the TeXML application XML request URL.

Example:

"https://example.com/instructions.xml"

Method
enum<string>

HTTP method used to retrieve TeXML instructions from Url.

Available options:
GET,
POST
Example:

"POST"

Response

The outbound call was queued.

call_sid
string
required

The call control ID of the created call.

Example:

"v3:call-control-id"

from
string
required

The caller address.

Example:

"+13120001234"

to
string
required

The called address.

Example:

"+13121230000"

status
enum<string>
required

The initial status of the outbound call.

Available options:
queued
Example:

"queued"