cURL
curl --request POST \ --url https://api.penciled.com/v1/call \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "agent_id": "<string>", "variables": {} }'
{ "call_id": "call_id_12345" }
Generates a new call
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Specify the details of the call
The body is of type object.
object
Call ID
The response is of type object.