Skip to main content

List webhooks

GET /v2/webhooks

Request

Use this request to retrieve a list of webhooks. You can use optional query parameters to filter your results. For example, useenabled=true to return only webhooks that are currently enabled.

Query parameters

limit
integer
The maximum number of items to return. For example, limit=25. By default, this is set to 100.Allowable values: [ 1 .. 100000 ]
offset
integer
The number of items to skip before returning the results. For example, offset=200. By default, this is set to 0.Allowable values: A valid integer
webhookEventTypeId
string (uuid)
Optional ID of the webhook event type to filter the response with.Allowable values: ≤ 36 characters
enabled
boolean
Optional query parameter to filter the response with (whether the webhook is enabled or not).Allowable values: true, false
webhookEventTypeName
boolean
Optional name of the webhook event type to filter the response with.Allowable values: ≤ 256 characters
accountId
string
The account ID to filter the response with. This is required if you have a user-level API key.Allowable values: An existing accountId (≤ 36 characters)

Response

If your request is successful, you’ll receive a 200 response.
For more detailed information about this request and its response, see the API reference.

Retrieve a webhook

GET /v2/webhooks/{webhookId}

Request

Use this request to get details about a given webhook, based on its id.

Path parameters

webhookId
string
required
The ID of the webhook that you want to retrieve.Allowable values: An existing webhookId (≤ 36 characters)

Query parameters

accountId
string
The account ID to filter the response with. This is required if you have a user-level API key.Allowable values: An existing accountId (≤ 36 characters)

Response

If your request is successful, you’ll receive a 200 response.
For more detailed information about this request and its response, see the API reference.