cURL
curl --request POST \ --url https://api.puretalk.ai/api/calls/make-outbound \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "from_number": "<string>", "to_number": "<string>", "variables": [ { "var_name": "<string>", "var_value": "<string>" } ] }'
{ "err": false, "msg": "Call initiated successfully" }
Make an outbound call
Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.
Success
The response is of type object.
object
Was this page helpful?