v2

latestOpenAPI 3.1.02026-07-26231357386.7 KB
Calling

Make a call

To make an outbound call to a given telephone number

post/api/v1/call/{widget_id}

Path parameters

widget_idstring uuid required

Widget ID to be used for initiating the call. It must be connected to Twilio, Plivo or Telnyx.

Widget ID to be used for initiating the call. It must be connected to Twilio, Plivo or Telnyx.

Request body

tostring required

The phone number to call. Must be in E.164 format. Ex: 16501234567

prompt_dynamic_variablesobject nullable

Dynamic variables to be used in the prompt. Ex: {'name': 'Bob', 'appointment_day': 'tomorrow', 'reason': 'for confirmation of appointment'}

Example request

{
  "prompt_dynamic_variables": {
    "appointment_day": "tomorrow",
    "name": "Bob",
    "reason": "for confirmation of appointment"
  },
  "to": "919810012345"
}

Response

Call successfully initiated

messagestring nullable
All 235 operations