curl --request POST \
--url https://api.heylibby.com/api/v1/outbound/call \
--header 'Content-Type: <content-type>' \
--header 'x-api-key: <api-key>' \
--data '
{
"agentId": "your-agent-uuid",
"contact": {
"phoneNumber": "+15551234567",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com"
},
"metadata": {
"formLocation": "Ballard",
"formGoals": "get in shape",
"utmSource": "facebook"
},
"introMessage": "Hi Jane, this is Libby calling from Acme Fitness, calling you back about your membership inquiry...",
"voicemailMessage": "Hi Jane, sorry we missed you. This is Libby from Acme Fitness. Call us back to learn about our May promotion..."
}
'
{
"success": true,
"message": "Your call has been scheduled and will be placed shortly."
}
Outbound Calling
Initiate outbound call
Schedule a single outbound call for a specific assistant (agentId). The call is queued after validation and placed shortly.
Required headers: x-api-key, Content-Type: application/json.
Required fields
agentId— assistant that places and handles the call, can be found in the URL after selecting that assistant.contact.phoneNumber— callee number in E.164 format (e.g.+15551234567).- Messaging — send both
introMessageandvoicemailMessage, or sendcallInstructionsalone. You cannot send only one ofintroMessage/voicemailMessage.
Optional fields
contact.firstName,contact.lastName,contact.email; trimmed and used for assistant context.metadata— custom key/value pairs (strings, numbers, or booleans) to give the assistant context.
Assistant requirements
The assistant must exist, belong to your organization (from the API key), be active, and have phone enabled and fully configured.
POST
/
outbound
/
call
curl --request POST \
--url https://api.heylibby.com/api/v1/outbound/call \
--header 'Content-Type: <content-type>' \
--header 'x-api-key: <api-key>' \
--data '
{
"agentId": "your-agent-uuid",
"contact": {
"phoneNumber": "+15551234567",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com"
},
"metadata": {
"formLocation": "Ballard",
"formGoals": "get in shape",
"utmSource": "facebook"
},
"introMessage": "Hi Jane, this is Libby calling from Acme Fitness, calling you back about your membership inquiry...",
"voicemailMessage": "Hi Jane, sorry we missed you. This is Libby from Acme Fitness. Call us back to learn about our May promotion..."
}
'
{
"success": true,
"message": "Your call has been scheduled and will be placed shortly."
}
Authorizations
Body
application/json
Was this page helpful?