List events

GET/events

Return the environment's events of the last 30 days as thin events, {object, data, has_more, url}, newest created first.

  • Each item is the event a thin endpoint is sent, byte for byte.

    It is rendered once, when the event is created, and this list answers those stored bytes; it carries no copy of the object, so a reader fetches related_object.url for it, as a thin endpoint's receiver does. Every event the environment produced is here, whatever any endpoint selected in enabled_events, so an integrator recovers what its endpoint missed during an outage by listing the outage window with created[gte] and created[lte] and processing each event by its id, which is the webhook-id it was delivered under. An event older than 30 days is not listed; legacy full bodies are never served here.

  • The filters are named.

    type and related_object_id match exactly, and created[gte], created[gt], created[lte] and created[lt] bound the event's created; together they are ANDed, and each page lists under the filters its own request sends, so a later page sends them again beside starting_after or ending_before. Any other query parameter answers 400 parameter_unknown naming it, and a value outside its schema, a bad limit or a starting_after or ending_before naming no object of this list answers 422 parameter_invalid naming it.

  • Who may.

    A person lists the environment X-Stridge-Environment names. A secret key lists its own environment and sends no X-Stridge-Environment, so an integration's own server catches up without a person's session; it needs the event.read scope, and a key without it answers 403 permission_denied whose message names event.read.

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.

  • typestringoptional

    Only events of this type, one the root webhooks: section names.

  • related_object_idstringoptional

    Only events about this object, the related_object.id they carry.

  • created[gte]string <date-time>optional

    Only objects created at or after this instant (RFC 3339).

  • created[gt]string <date-time>optional

    Only objects created after this instant (RFC 3339).

  • created[lte]string <date-time>optional

    Only objects created at or before this instant (RFC 3339).

  • created[lt]string <date-time>optional

    Only objects created before this instant (RFC 3339).

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 events.

  • objectstringrequiredenum list

    The object's type, always list.

    • idstring <uuid>required

      The event's own identifier, minted once when the event is recorded. It equals the webhook-id header, stays the same across every attempt and resend, and is the key a receiver deduplicates on: two deliveries carrying the same id are the same event, to act on once.

    • objectstringrequired

      What this object is, always event.

    • typestringrequired

      What happened: one of the event types the root webhooks: section names, such as payout.confirmed. A receiver meeting a type it does not know acknowledges it with a 2xx and ignores it, because types are only ever added.

    • createdstring <date-time>required

      When the transition the event names happened, which is the object's time and not the time Stridge consumed or delivered it. RFC3339 UTC, Z suffixed. Delivery order is not guaranteed; a receiver orders one object's events by created.

    • livemodebooleanrequired

      true when the event happened in a live environment and false in a sandbox. It matches the environment of the endpoint it was delivered to and of any credential that reads it back.

    • The one object the event is about: enough to fetch it, and nothing of its state.

  • 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/events" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

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

Response200
"object": "list",
"id": "8f14e45f-ceea-467a-9d0e-2b1c5f0a3d47",
"object": "event",
"type": "payout.confirmed",
"created": "2026-10-17T09:12:44Z",
"livemode": false,
"id": "4f0c6c2e-8a71-4d2b-9e35-1b7c0a9f6d28",
"type": "payout",
"url": "/v2/payouts/4f0c6c2e-8a71-4d2b-9e35-1b7c0a9f6d28"
}
}
],
"has_more": false,
"url": "/v2/events"
}