Trigger outbound calls from your AI agent via the API
Zeeg’s AI Agent can make outbound phone calls on your behalf. Use the API to trigger calls immediately or schedule them for a specific time. This guide walks you through both scenarios.
Send a POST request to start a call right away. The AI agent will dial the specified phone number and use the provided context to drive the conversation.Endpoint
POST https://api.zeeg.me/v2/agents/{agentUuid}/outbound-calls
Required fields
Field
Type
Description
phoneNumber
string
Phone number in E.164 format (e.g., +4915112345678)
email
string
Contact’s email address
fullName
string
Contact’s full name
Optional fields
Field
Type
Description
additionalData
string
Extra context for the AI agent to use during the call
Phone numbers must be in E.164 format — a + followed by the country code and subscriber number with no spaces or dashes. For example: +4915112345678 (Germany) or +14155551234 (US).
curl -X POST https://api.zeeg.me/v2/agents/YOUR_AGENT_UUID/outbound-calls \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "phoneNumber": "+4915112345678", "email": "alex.mueller@example.com", "fullName": "Alex Mueller", "additionalData": "Follow up on demo request from March 28. Interested in the Enterprise plan." }'
Use additionalData to give your AI agent relevant context about the person being called — prior interactions, the reason for the call, or specific talking points. This makes conversations more personalized and effective.
To schedule a call for a later time, include the scheduledTime field in the same request. The value must be a future datetime in YYYY-MM-DD HH:mm:ss format.
A successful request returns the created call object with a 201 status code.
{ "id": 42, "status": "pending", "agentId": "YOUR_AGENT_UUID", "phoneNumber": "+4915112345678", "email": "alex.mueller@example.com", "fullName": "Alex Mueller", "additionalData": "Follow up on demo request from March 28. Interested in the Enterprise plan.", "scheduledTime": null}
You can combine this API with workflow automation tools to trigger calls based on external events. For a step-by-step walkthrough using n8n, see the guide:
Build a Workflow with n8n and Zeeg
Automate outbound calls by connecting Zeeg’s AI Agent API to n8n workflows.