Prerequisites
Before you begin, make sure you have the following in place:- An AI agent created, published, and enabled in your Zeeg dashboard
- The agent’s UUID (found in the agent settings)
- An API token with the
outbound-calls:writescope
Triggering an Immediate Call
Send aPOST 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
Optional fields
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).Scheduling a Future Call
To schedule a call for a later time, include thescheduledTime field in the same request. The value must be a future datetime in YYYY-MM-DD HH:mm:ss format.
Response
A successful request returns the created call object with a201 status code.
Error Handling
Integration Example
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.