Calling
POSThttps://api.voxo.co/v2/calling/callAndPlay
Call And Play TTS Media
Call a number and play transcribed text to speech audio to party
Post Parameters
- Name
tenantId*
- Type
- number
- Description
- Account id
- Name
from*
- Type
- string
- Description
Outbound caller id number. This number must belong to your account.
- Name
to*
- Type
- string
- Description
Phone number to call
- Name
text*
- Type
- string
- Description
- The message body
- Name
webhookUrl
- Type
- string
- Description
- URL to send post request when action completes
Header
- Name
Authorization*
- Type
- string
- Description
Bearer
{accessToken}
- Name
Content-Type*
- Type
- string
- Description
- application/json
Request
POST
/calling/callAndPlaycurl --location -g --request POST 'https://api.voxo.co/v2/calling/callAndPlay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'
Response
{
"status": "Ok",
"message": "Successfully sent the request!",
},