Outbound Call
This endpoint will initiate an outbound call:
POST https://api.simplephones.ai/v1/twilio/outbound
Body for connecting to agent:
{
numberId: 'c2d525c7c7b5b9f1fd941770',
callTo: '+15555555555'
}
Body for connecting to personal phone:
{
callFrom: '+17777777777',
callTo: '+15555555555'
}
'callTo' and 'callFrom' must be in E. 164 format, as shown above.
To obtain the numberId, try getting a list of your numbers. (see List of Numbers)
To enable this endpoint for your account, please contact [email protected].
Last updated