Skip to main content
POST
Create an automation

Request Structure

Key Fields

Conditions, Actions & Parameters

Conditions, actions, and action parameters are managed inline through this payload using change objects. On create only ADD is allowed; the update endpoint also accepts UPDATE and DESTROY (which require the existing record id).

Resource Events

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.

X-Clarus-Subdomain
string
header
required

The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.

Body

application/json
data
object
required

Response

Automation created successfully

data
object