List Events

View as Markdown
List events for an account. Supports filtering by: - event_id: Show a specific event by its ID - aggregate_id: Show events for a specific entity (e.g., invoice timeline) - customer_id: Roll up events across everything a customer owns - aggregate_type: Show events for a type of entity - event_type: Show specific event types - filter JSON param: DataTable filters (event_type, aggregate_type, aggregate_id, created_at) Results are ordered by created_at descending (newest first).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

account_idstringRequired

Query parameters

event_idstring or nullOptional

Filter by event ID (e.g., ‘evt_dev_a1b2c3d4e5f6g7h8’)

aggregate_idstring or nullOptional

Filter by aggregate ID (entity ID)

customer_idstring or nullOptional

Roll up all events for a customer’s owned entities (subscriptions, invoices, payments, refunds, …). Mutually exclusive with aggregate_id.

aggregate_typestring or nullOptional

Filter by aggregate type (e.g., ‘invoice’)

event_typestring or nullOptional

Filter by event type (e.g., ‘invoice.created’)

limitintegerOptional1-100Defaults to 50
Number of items per page
offsetintegerOptional>=0Defaults to 0
Number of items to skip
filterstringOptionalDefaults to {}

Filter conditions as key-value pairs or advanced filter objects (JSON string)

sortBystring or nullOptional
Field to sort by
sortOrderintegerOptionalDefaults to -1

Sort order: 1 for ascending, -1 for descending

searchstring or nullOptional

Keyword-based search across multiple fields

Response

Successful Response
itemslist of objects
totalinteger
has_moreboolean

Errors

422
Unprocessable Entity Error