Webhooks

Lists every webhook subscription configured for the organization. Use this to find the id of a specific subscription before retrieving, updating, or deleting it, or to audit which events are currently wired up.

Token scopes: webhooks:read

get/webhooks

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Query parameters

limit, integer

Opt-in pagination: maximum number of webhook subscriptions to return in one page, newest first. Without limit and cursor every subscription is returned. limit has no fixed default; if you send only cursor, the page returns up to 100 subscriptions.

cursor, string

Opaque cursor returned as cursor by the previous page. Send it to fetch the next page.

status, 'enabled' | 'disabled'

Only return webhook subscriptions with this status.

hidden, boolean

Only return hidden (true) or visible (false) webhook subscriptions.

search, string

Case-insensitive match on the webhook subscription name or URL.

_order, string

Sort as <column>[:<direction>], where column is name, created_at or status and direction is asc (default) or desc. Only applies when the call is not paginated (no limit or cursor); pages are always newest first.

include, 'stats'

Set to stats to embed the delivery health of each webhook subscription for the last 7 days as stats.

Response

successful operation

WebhooksGetWebhooksResponse200 required
data, WebhooksGetResponsesContentApplicationJsonSchemaDataItems[] required

The list of webhook subscriptions.

cursor, string nullable required

Cursor for the next page; pass it as the cursor query parameter. Null when there are no more results.

Changes

    • info

      added the new optional query request parameter _order

    • info

      added the new optional query request parameter cursor

    • info

      added the new optional query request parameter hidden

    6 more changes in this revision