Skip to main content
POST
/
phone-number
/
initiate-call
Initiate an outbound call
curl --request POST \
  --url https://api.swiftsellai.com/phone-number/initiate-call \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "to": "<string>",
  "from": "<string>",
  "overrideAgentId": "<string>"
}
'
{}

Authorizations

x-api-key
string
header
required

Body

application/json

Body

to
string
required

Phone number to call

from
string
required

Phone number to call from

overrideAgentId
string

ID of the voice agent you want to use for the call

Response

200 - application/json

200

status
enum<string>
required
Available options:
success