cURL
curl --request POST \ --url https://atoms-api.smallest.ai/api/v1/conversation/outbound \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "agentId": "60d0fe4f5311236168a109ca", "phoneNumber": "+1234567890", "variables": { "name": "John", "age": 30 } } '
{ "status": true, "data": { "conversationId": "CALL-XXXXX1234" } }
Initiates an outbound conversation with a specified agent and phone number.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the agent initiating the conversation
"60d0fe4f5311236168a109ca"
The phone number to call
"+1234567890"
The variables to pass to the conversation
{ "name": "John", "age": 30 }
Successfully started the outbound conversation
true
Show child attributes