Skip to main content
POST
/
v2
/
admin
/
calling
/
call-and-play
Call and Play
curl --request POST \
  --url https://api.voxo.co/v2/admin/calling/call-and-play \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantId": 1,
  "to": "<string>",
  "from": "<string>",
  "text": "<string>"
}
'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
tenantId
number
required

Tenant ID to place the call for

Required range: x > 0
to
string
required

Destination phone number (10-digit US format)

Pattern: ^[1-9]\d{9}$
from
string
required

Caller ID phone number (must belong to tenant)

Pattern: ^[1-9]\d{9}$
text
string
required

Text to convert to speech and play on the call

Minimum string length: 3
webhookUrl
string<uri>

Optional webhook URL for call status updates

Response

Call initiated successfully

status
string
required

Request status

message
string
required

Status message