Calling
Make a call
Changed onTo make an outbound call to a given telephone number
post/api/v1/call/{widget_id}
Request
- Base URLhttps://api.insighto.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in query parameter api_key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
widget_idstring uuid required
Widget ID to be used for initiating the call. It must be connected to Twilio, Plivo or Telnyx.
Request body
Example request
{
"prompt_dynamic_variables": {
"appointment_day": "tomorrow",
"name": "Bob",
"reason": "for confirmation of appointment"
},
"to": "919810012345"
}Response
Call successfully initiated
Changes
- info
added to the
response propertyanyOflist for the response status - info
removed from the
response propertyanyOflist for the response status
- info