List Events
Lists all events for your account. Results are paginated.
/eventsThis endpoint retrieves a list of events generated within your Stedi account. By default, it returns all events regardless of delivery status for the past 30 days. You can use it to recover from delivery failures and check for processing errors.
- Call this endpoint with one or more query parameters to filter the results. You can filter by event type, delivery status, or created date.
- Stedi returns the a list of events matching the criteria. You can use the
items[].idvalue with the Retrieve Event endpoint to retrieve the full payload for each event.
A Stedi API Key for authentication.
Query Parameters
The maximum number of elements to return in a page. If not specified, the default is 100.
The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.
^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Filter results by event ID, such as evt_019d554b-311b-7813-b491-0a8973762eae.
Filter results by one or more event statuses. Can be:
DELIVERED: Stedi successfully delivered the event to all relevant event destinations.PENDING: Stedi is still trying to deliver the event to one or more event destinations.FAILED: Stedi couldn't deliver the event to at least one event destination and is no longer retrying.
PENDINGDELIVEREDFAILEDFilter results by event type, such as enrollment.activated.
Filter results by their createdAt timestamp. Each value is in the format operator:ISO-8601-timestamp.
- The supported operators are
gt(after),gte(at or after),lt(before), andlte(at or before). For example: Setting this tolt:2024-02-01T00:00:00Zfilters for events created before the specified timestamp. - Combine multiple values with
&to specify a date range. For example:created=gt:2026-01-01T00:00:00Z&created=lt:2026-02-01T00:00:00Z.
Response
The list of event summaries.
Token that you can supply in subsequent requests to retrieve the next page of results. If not returned, there are no more results.
curl --request GET \ --url "https://events.us.stedi.com/2026-02-01/events" \ --header "Authorization: <api_key>"{
"items": [
{
"createdAt": "2026-02-01T12:00:00Z",
"eventType": "enrollment.activated",
"id": "evt_550e8400-e29b-41d4-a716-446655440000",
"status": "DELIVERED"
}
]
}