Skip to main content
POST
Create automation rule

Authorizations

Authorization
string
header
required

To authenticate server-side requests

Body

application/json

Request schema for creating a new automation rule

Request schema for creating a new automation rule

name
string
required

Human-readable name for the automation rule

Example:

"Sweep when over 5000 USDC"

customerId
string<uuid>
required

ID of the customer who owns this automation rule

Example:

"da1f853f-b083-40f3-b729-30c99826e4ed"

transactionTemplate
Transaction Template Schema · object
required

Template configuration for transactions created by automation rule

trigger
Trigger Schema · object
required

Trigger configuration for automation rules

Response

Response schema for retrieving an automation rule

Configuration for automated transaction execution

id
string
required

Unique identifier for the automation rule

Example:

"rule_ghi789"

name
string
required

Human-readable name for the automation rule

Example:

"Sweep when over 5000 USDC"

customerId
string<uuid>
required

ID of the customer who owns this automation rule

Example:

"da1f853f-b083-40f3-b729-30c99826e4ed"

transactionTemplate
Transaction Template Response Schema · object
required

Template configuration for transactions created by automation rule

trigger
Trigger Schema · object
required

Trigger configuration for automation rules

createdAt
string

ISO timestamp when this automation rule was created

Example:

"2025-09-12T12:00:00Z"