Create a subscription
POST /subscriptions
POST
/subscriptions
Create a new webhook subscription
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”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
Responses
Section titled “ Responses ”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 occurredUnauthorized