API referenceAutomations
Set automation status
Sets the automation's status to 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.
automationId*stringMatch
^[1-9]\d*$Length
1 <= lengthapplication/json- body
status*stringValue in
"ACTIVE""PAUSED"Set automation status
application/json- response
[key: string]?unknowncurl -X PATCH "https://example.com/v1/brands/0/automations/string/status" \ -H "Authorization: Bearer koast_sk_..." \ -H "Content-Type: application/json" \ -d '{ "status": "ACTIVE" }'{ "property1": null, "property2": null}Required scope: write. CLI: koast set-automation-status, see Automations commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.