Event subscriptions

Recent occurrences of an event

Returns the most recent real occurrences of an event in the same { event, occurredAt, organizationId, data } envelope a subscriber receives, so an integration can show sample data without waiting for a live delivery. occurredAt is when the event actually happened.

Each payload is built by the same code that builds the delivered webhook, so a record read here is structurally identical to one delivered later.

Events with no recorded history, and subscribable events that cannot yet be reconstructed, return an empty list rather than an error.

get/hooks/samples

Request

  • Base URL: https://api.flogpt.com/api/v1
  • URL: https://api.flogpt.com/api/v1/hooks/samples
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

eventstring required

One of the names from GET /hooks/events.

limitinteger

Response

Recent event envelopes

Changes

No recorded changes to this operation across all 1 revision of this API.