Skip to main content
POST
Validate workflow steps without saving

Authorizations

Authorization
string
header
required

Create an API key in GreenTick Developer settings. Send it as Authorization: Bearer gt_live_… (Bearer prefix required).

Headers

Idempotency-Key
string

When set, a repeated write with the same key and route replays the stored response.

Maximum string length: 200

Body

application/json
name
string
required
steps
object[]
required

Ordered steps. The first step is a trigger: message_received, webhook, or campaign_enrolled. Do not send a phone number. keyword_match takes keywords as an array of strings and matches them inside a longer message. Do not set matchPercent. Put the matching branch in then and the other branch in else. Steps after a condition that has no then or else run only when it matches. send_text uses text. A delay uses minutes, for example minutes: 6. Do not also send waitDurationMs: 60000.

description
string

Response

Success

success
boolean
required
Example:

true

data
any
tool
string
blockedTools
string[]
next
string