List webhook endpoints

GET/webhook-endpoints

Return the environment's delivery destinations as a list, {object, data, has_more, url}, newest first.

The list takes limit, starting_after and ending_before and nothing else: any other query parameter answers 400 parameter_unknown naming it, and a bad limit or a starting_after or ending_before naming no object of this list answers 422 parameter_invalid.

  • A page.

    The environment holds at most five endpoints, so a page is rarely more than one; it is a page anyway, because a client should not have to know a limit to know how to read a list, and the same reader that walks every other collection walks this one.

    signing_secret is on no endpoint in this list. It is answered by the create or the rotation that mints it, and again only by a retry of that same request under its Idempotency-Key.

  • Who may.

    Any member of the workspace. A secret key of the environment may too when it holds webhook.read; one without it answers 403 permission_denied.

Show 2 more details
  • A resetting sandbox.

    Live answers this for a sandbox environment too, and while that sandbox's reset runs it answers 409 environment_resetting: nothing is served for a sandbox until its reset finishes.

  • Called with a live secret key.

    A key calls this with a live secret key (sk_live_). The webhook endpoints' configuration is served by live alone, and a sandbox secret key (sk_sbx_) reaches the sandbox, which does not serve this operation and answers it 404 operation_not_served (this operation is served to live keys only).

Parameters

Query

  • limitinteger <int32>optionaldefault 20

    The page size. A value that is not an integer from 1 to the maximum answers 422 parameter_invalid naming limit; it is never clamped.

  • starting_afterstringoptional

    A cursor: the id of an object of this list, usually the last one of the page just read. The page answered holds the objects that come right after it in the list's order. The object need not match this request's filters; its place in the order is what counts.

    Show full description

    An id that names no object of this list in this environment answers 422 parameter_invalid naming starting_after. It cannot be sent with ending_before.

  • ending_beforestringoptional

    A cursor: the id of an object of this list, usually the first one of the page just read. The page answered holds the objects that come right before it, still in the list's order, and has_more says whether there are more before them.

    Show full description

    An id that names no object of this list in this environment answers 422 parameter_invalid naming ending_before, as does sending it together with starting_after.

Headers

  • X-Stridge-Environmentstring <uuid>optional

    Which environment the request acts inside, on an operation a session and an API key both call. Learn more

    Show full description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.

Responses

The page of endpoints.

  • objectstringrequiredenum list

    The object's type, always list.

    • idstringrequired

      The endpoint's own identifier.

    • objectstringrequired

      The object's type, always webhook_endpoint.

    • environment_idstring <uuid>required

      The environment whose events this endpoint receives. An endpoint receives the events of one environment and no other, so a sandbox endpoint never receives a live environment's events.

    • livemodebooleanrequired

      true when environment_id names a live environment and false in a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from.

    • urlstring <uri>required

      Where deliveries are sent.

      Show full description

      An endpoint registered through this API holds an absolute https URL on port 443 with a public destination (the rules are on POST /webhook-endpoints); one registered before it may hold a URL those rules refuse, which keeps receiving until it is changed. It is unique inside the environment: two endpoints on one URL would double every delivery to it.

    • namestringrequired

      What this endpoint is called, for the people reading the list rather than for Stridge.

    • enabled_eventsarray<string>required

      Which events to send here: webhook event types this reference documents, or ["*"], every one of those types but webhook_endpoint.ping, types added later included.

      Show full description

      Which events reach the endpoint is the delivery policy's enabled_events rule: an endpoint created through /v2 is sent only the events /v2 shows. An endpoint names at least one type: subscribing to nothing is an endpoint that never receives anything, which is a mistake no client means to make and none can express here. A legacy endpoint registered with no list reads []: it receives nothing.

    • event_payloadstringrequiredenum thin · legacy

      The body this endpoint receives, fixed for its whole life. thin, every endpoint created through this API: the ThinEvent of every type, which names the object and carries no copy of it. legacy, every other endpoint: the full legacy body of each type, unchanged.

      Show full description

      It never changes: an update naming it is refused. To move to thin events, create a new endpoint, run it beside the old one (both receive each event under the same webhook-id, so a receiver deduplicating on it acts once), then delete the old one.

    • is_activebooleanrequired

      Whether a person has the endpoint on. An inactive endpoint is skipped rather than queued, so events that occur while it is off are not delivered when it comes back on. An endpoint Stridge disabled for failing stays is_active: true; its status says it is disabled.

    • statusstringrequiredenum enabled · disabled

      Whether events are sent to the endpoint. disabled names why in disabled_reason: a person turned it off (is_active: false), or Stridge disabled it after three days in which no delivery to it answered 2xx, which only POST /webhook-endpoints/{endpoint_id}/enable undoes.

      Show full description

      A disabled endpoint's pending retries stop and new events are not sent to it.

    • disabled_reasonstring | nullrequiredenum failing · user · null

      Why a disabled endpoint is disabled: failing, three days with no 2xx, or user, a person turned it off. null while it is enabled.

    • failing_sincestring | null <date-time>required

      When the endpoint's first failed delivery happened since a delivery to it last answered 2xx, or null while it is not failing.

      Show full description

      While the endpoint is enabled, any 2xx ends it; a disabled endpoint keeps it, whatever a ping or a resend to it answers, until POST /webhook-endpoints/{endpoint_id}/enable, so the re-enable replays every event it missed. After two days failing the workspace's owners get one notice for the endpoint, in the dashboard; after three it is disabled. RFC3339 UTC, Z suffixed.

    • disable_atstring | null <date-time>required

      When a failing endpoint is disabled unless a delivery to it answers 2xx first: failing_since plus three days. null while it is not failing.

    • created_atstring <date-time>required

      When the endpoint was registered. RFC3339 UTC, Z suffixed. It is the default sort, newest first.

    • updated_atstring <date-time>required

      When the endpoint was last changed.

  • has_morebooleanrequired

    Whether the list holds more objects past this page in the direction it was read: after its last object, or before its first for a page read with ending_before.

  • urlstringrequired

    The path the list is read at.

Errors

The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.

Request
curl "https://api.stridge.com/v2/webhook-endpoints" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"object": "list",
"id": "sub_00000000000000000000000001",
"object": "webhook_endpoint",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"url": "https://example.com/hooks/stridge",
"name": "Production receiver",
"deposit.confirmed",
"payout.confirmed"
],
"event_payload": "thin",
"is_active": true,
"status": "enabled",
"disabled_reason": null,
"failing_since": null,
"disable_at": null,
"created_at": "2026-05-20T11:03:00Z",
"updated_at": "2026-05-28T16:41:09Z"
}
],
"has_more": false,
"url": "/v2/webhook-endpoints"
}