Create a call campaign
Prepare an outbound call campaign for a voice Agent with up to 10000 recipients, each a phone address with an optional contactId, variables, firstMessage and instructions. Nobody is called until it is started. Each recipient's contact is the one it names, or the owner of its number (created when none exists). Calls happen only inside contactHours (in timeZone, the organization's by default) and between scheduledStartAt and scheduledEndAt; each recipient gets up to maxAttempts calls, retried retryAfterMinutes later after the results in retryOn (no_answer, failure). Starting it (REST POST /v1/campaigns/{campaignId}/start) is not an AI tool.
- Scope:
raiz:campaigns:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; not idempotent: check the outcome before you retry
- Limits: request body up to 2 MB, response up to 1 MB
- CLI:
arbol raiz campaigns create· MCP tool:raiz_campaigns_create
POST
https://api.getarbol.com/v1/raiz/campaignsAuthorization
Request body JSON required
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.INVALID_CURSOR: The cursor is malformed or belongs to a different list.
404
NOT_FOUND: The requested operation does not exist.RESOURCE_NOT_FOUND: The requested resource does not exist in this organization.
409
VOICE_AGENT_NOT_READY: The Agent cannot take calls yet: it must be an active voice Agent with instructions, published for calls.INVALID_STATE: The resource is not in a state that allows this operation.VERSION_CONFLICT: The resource changed after it was read. Read it again and retry with the new version.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.INTEGRATIONS_UNAVAILABLE: The organization's integrations cannot be read right now. Try again shortly.