Webhooks API endpoints

Create a Webhook

post
/webhooks
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
urlstringRequired

The URL to send the webhook to

Example: https://webhook.example.io
descriptionstringOptional

The description of the webhook

Example: My webhook
statusinteger · enumOptional

The status of the webhook (0 = disabled, 1 = enabled)

Possible values:
Responses
200

Webhook has been created

application/json
post
/webhooks

List all webhooks

get
/webhooks
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
offsetinteger · int32Optional

How many items to offset by for pagination

Default: 0
limitinteger · int32 · min: 1 · max: 64Optional

How many items to return at one time (max 64)

Default: 64
Responses
200

A paged array of webhooks

application/json
get
/webhooks

Info for a specific webhook

get
/webhooks/{id}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

A unique numeric ID

Responses
200

A stored webhook JSON object

application/json
get
/webhooks/{id}

Update a Webhook

patch
/webhooks/{id}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

A unique numeric ID

Body
urlstringRequired

The URL to send the webhook to

Example: https://webhook.example.io
descriptionstringOptional

The description of the webhook

Example: My webhook
statusinteger · enumOptional

The status of the webhook (0 = disabled, 1 = enabled)

Possible values:
Responses
200

Webhook has been updated

application/json
patch
/webhooks/{id}

Deletes a single webhook

delete
/webhooks/{id}
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

A unique numeric ID

Responses
200

Webhook Deleted

No content

delete
/webhooks/{id}

No content

Last updated

Was this helpful?