List Events
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_id
Query parameters
event_id
Filter by event ID (e.g., ‘evt_dev_a1b2c3d4e5f6g7h8’)
aggregate_id
Filter by aggregate ID (entity ID)
customer_id
Roll up all events for a customer’s owned entities (subscriptions, invoices, payments, refunds, …). Mutually exclusive with aggregate_id.
aggregate_type
Filter by aggregate type (e.g., ‘invoice’)
event_type
Filter by event type (e.g., ‘invoice.created’)
limit
Number of items per page
offset
Number of items to skip
filter
Filter conditions as key-value pairs or advanced filter objects (JSON string)
sortBy
Field to sort by
sortOrder
Sort order: 1 for ascending, -1 for descending
search
Keyword-based search across multiple fields
Response
Successful Response
items
total
has_more
Errors
422
Unprocessable Entity Error