archive Workflow
archive Workflow with the Mailly email API for AI agents: POST /workflows/{workflowKey}/archive. Parameters, request body, responses and code samples.
POST
pause/resume/archive status transitions; archive stops in-progress runs.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
workflowKey*stringworkflow stable key
Transitioned
application/json- response
success*booleanworkflow*platformFailures*array<string>[key: string]?unknowncurl -X POST 'https://api.mailly.site/workflows/string/archive'{ "success": true, "workflow": { "property1": null, "property2": null }, "platformFailures": [ "string" ], "property1": null, "property2": null}Workflows
Lifecycle workflows and events: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
Cancel one in-progress workflow run POST
Cancel one in-progress workflow run with the Mailly email API for AI agents: POST /workflows/{workflowKey}/runs/{runId}/cancel. Parameters, request body, responses and code samples.