Skip to content

Create a subscription

POST
/subscriptions

Create a new webhook subscription

object
workflow_id
required
string
workflow_name
string
node_id
required
string
webhook_url
required
string format: uri
resource
required
string
actions
required
Array<string>
filter
object
key
additional properties
any
secret
string

Subscription created

object
id
string
company_id
string
workflow_id
string
workflow_name
string | null
node_id
string
webhook_url
string
resource
string
actions
Array<string>
filter
object | null
secret
string | null
created_at
string | null format: date-time
updated_at
string | null format: date-time

Invalid request

object
success
required
boolean
error
required
string
Example
An error occurred

Unauthorized