Skip to main content
PATCH
/
automations
/
{automation_id}
/
status
Update automation status
curl --request PATCH \
  --url https://api.qonversion.io/v4/automations/{automation_id}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "inactive"
}
'
{
  "error": {
    "type": "request",
    "code": "<string>",
    "message": "<string>",
    "details": [
      {
        "field": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Path Parameters

automation_id
string
required

Automation identifier.

Maximum string length: 256
Pattern: ^[a-zA-Z0-9._-]+$

Body

application/json
status
enum<string>
required

Desired status for the automation.

Available options:
active,
inactive
Example:

"inactive"

Response

Status updated successfully. No response body.