Endpoint
POSThttps://api.graine.ai/api/v1/campaigns/
Also available as POST /campaigns/create (Merlin alias — identical behaviour).
Headers
Request Body
working_hours schema
HH:MM 24-hour format. Days where enabled: false never receive calls.
retry_policy schema
callee_name should live in each contact’s call_variables, not in default_call_variables. The AI uses it in its greeting — if it’s missing the agent cannot address the person by name.Example Request
Responses
200 OK
400 Bad Request
401 Unauthorized
Code Examples
Next Steps
Create a Batch
Upload contacts and start dispatching
Campaign Lifecycle
Pause, resume, or cancel