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 ID of the agent that will be making the call
The variables required by the agent
Show child attributes
Call ID
The ID of the call generated
"call_id_12345"