Retrieve an event

GET/events/{id}

Return one event of the environment by its id, the webhook-id it was delivered under, as the thin event a thin endpoint is sent: the same stored bytes.

An event older than 30 days, one that exists nowhere and one belonging to another environment answer the same 404, so a caller cannot learn that another environment's event exists by watching which refusal it gets.

  • Who may.

    A person reads it in the environment X-Stridge-Environment names. A secret key reads it in the key's own environment and sends no X-Stridge-Environment; it needs the event.read scope, and a key without it answers 403 permission_denied whose message names event.read.

Parameters

Path

  • idstringrequired

    The event's id.

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

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

    • idstringrequired

      The object's identifier, as its own family addresses it.

    • typestringrequired

      The kind of object, in snake_case and singular, as the event type's x-stridge-related-object-type in the root webhooks: section names it: payout, deposit, webhook_endpoint.

    • urlstringrequired

      The object's /v2 path. A GET of it with a credential of the same environment answers the object as it is now, in the schema the event type's x-stridge-related-object names.

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

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

Response200
"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"
}
}