Publish a new workflow version
Publish a new workflow version with the Mailly email API for AI agents: POST /workflows/{workflowKey}/publish. Parameters, request body, responses and code samples.
POST
inFlightPolicy is required once a version has been published; V1 supports only continue.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
workflowKey*stringworkflow stable key
application/json- body
inFlightPolicy?stringPolicy for in-progress runs
Value in
"continue""migrate"[key: string]?unknownPublished
application/json- response
success*booleanworkflow*versionId*string[key: string]?unknowncurl -X POST 'https://api.mailly.site/workflows/string/publish' \ -H 'Content-Type: application/json' \ -d '{ "property1": null, "property2": null}'{ "success": true, "workflow": { "property1": null, "property2": null }, "versionId": "string", "property1": null, "property2": null}pause Workflow POST
pause Workflow with the Mailly email API for AI agents: POST /workflows/{workflowKey}/pause. Parameters, request body, responses and code samples.
Replay a failed event POST
Replay a failed event with the Mailly email API for AI agents: POST /events/{eventId}/replay. Parameters, request body, responses and code samples.