Simple Phones Help
  • Basics
    • Creating an agent
    • Inbound Calls
    • Outbound Calls
    • Routing
    • Crawling
  • Webhooks
    • What are webhooks?
    • Get started with webhooks
  • Developers
    • Authentication
    • List of Numbers
    • List of Calls
    • Call Details & Transcript
    • Outbound Call
  • Links
    • Simple Phones Website
    • Contact Us
Powered by GitBook
On this page
  1. Developers

Outbound Call

PreviousCall Details & Transcript

Last updated 1 year ago

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 )

To enable this endpoint for your account, please contact support@simplephones.ai.

List of Numbers