Skip to main content
POST
/
api
/
v1
/
calls
cURL
curl --request POST \
  --url https://app.callx.io/api/v1/calls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumberId": "<string>",
  "customer": {
    "number": "<string>"
  },
  "assistant": "<unknown>"
}
'
{
  "callSid": "<string>",
  "accountSid": "<string>",
  "callLogId": "<string>",
  "to": "<string>",
  "from": "<string>",
  "status": "queued",
  "direction": "outbound-api"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Call details to create a new outbound call

phoneNumberId
string
required

Unique identifier for the phone number making the call

customer
object
required
assistant
any

Response

Call created successfully

callSid
string
required
accountSid
string
required
callLogId
string
required
to
string
required
from
string
required
status
enum<string>
required
Available options:
queued
direction
enum<string>
required
Available options:
outbound-api