List
List events
get/v1/events
List all events.
Query Parameters
beginstring
optional
Date string in RFC 3339 format. Only entries created after the specified time will be included. UTC time zone.
formatdate-time
endstring
optional
Date string in RFC 3339 format. Only entries created before the specified time will be included. UTC time zone.
formatdate-time
ending_beforestring
optional
A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.
event_typesarray of enum
optional
Event types to filter events by.
maxLength10
page_sizenumber
optional
Page size (for pagination).
maximum100
minimum1
starting_afterstring
optional
A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.
with_contentboolean
optional
Whether to include the event payload content in the response.
Returns
dataarray of tokenstringcreatedstringevent_typeenumpayloadRecord<string, unknown>Event
has_moreboolean
Request example Request
curl https://api.lithic.com/v1/events \
-H "Authorization: $LITHIC_API_KEY"
200 Example
{
"data": [
{
"token": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga1",
"created": "2019-12-27T18:11:19.117Z",
"event_type": "account_holder.created",
"payload": {}
}
],
"has_more": true
}