API referenceWorkflows
Set workflow status
Sets the workflow's status: DRAFT, ACTIVE (armed) or PAUSED.
PATCH
bearerAuthheader
AuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
workflowId*stringMatch
^[1-9]\d*$Length
1 <= lengthapplication/json- body
status*stringValue in
"DRAFT""ACTIVE""PAUSED"Set workflow status
application/json- response
[key: string]?unknowncurl -X PATCH "https://example.com/v1/brands/0/workflows/string/status" \ -H "Authorization: Bearer koast_sk_..." \ -H "Content-Type: application/json" \ -d '{ "status": "DRAFT" }'{ "property1": null, "property2": null}Required scope: write. CLI: koast set-workflow-status, see Workflows commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.