Skip to main content
POST
Create a workflow draft

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

Workflow steps. The first step must be a trigger.

description
string
phoneNumberRef
string

GreenTick phone line id. Required when the account has more than one number.

phoneNumberId
string

Meta WhatsApp phone_number_id.

Response

Success

success
boolean
required
Example:

true

data
any
tool
string
blockedTools
string[]
next
string