Activate a draft automation
Validates the trigger and the full sequence (every node's required fields, branch conditions, and any send-email/notify node's referenced email content) before doing anything. If validation fails, nothing is changed and the response has hasErrors: true with each problem node's error array populated - fix and call again. On success the automation becomes "active" and starts running for matching contacts. Requires { "confirm": true } in the body - omit it (or send false) to get back the automation's current full state with confirmationRequired: true instead, with nothing applied. Always fetch and show the caller (or end user) that state before sending confirm: true.
Request
- Base URL: https://api.bluefox.email
- URL: https://api.bluefox.email/v1/projectId/{projectId}/automations/{id}/activate
- Auth: HTTP bearer
Path parameters
The project _id, found in the app under Project Settings.
Request body
Response
OK - check result.hasErrors/result.confirmationRequired before assuming the action actually applied.
Example response
{
"status": 200,
"result": {
"hasErrors": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.