Update a campaign
Change a campaign. Omitted fields stay. paused: true pauses a started campaign (no new call starts; calls in progress finish) and paused: false resumes it, with the same checks as starting. Before the start, recipients is the complete set (matched by address); once started it only adds, so send a long list in batches. The Agent changes only before the start, and a completed campaign accepts only its name and metadata.
- Scope:
raiz:campaigns:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: writes; idempotent, safe to retry
- Limits: request body up to 2 MB, response up to 1 MB
- CLI:
arbol raiz campaigns update· MCP tool:raiz_campaigns_update
https://api.getarbol.com/v1/raiz/campaigns/{campaignId}Authorization
Path parameters
Request body JSON required
- recipientsoptionalarray ofobject
Before the campaign starts: the complete set, matched by
address(listed recipients get these values, new ones are added, missing ones are removed). Once it started: only additions, so a long list can be sent in batches; addresses already in the campaign are left as they are, listed or not.
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.