List all events
Changed onReturns a list of events sorted by creation date, with the most recently created event appearing first. The event list includes data from up to the last 30 days.
Each event’s data is rendered according to the API version at the time of its creation, as specified by the api_version attribute in the event object, rather than the current API version.
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/events
- AuthHTTP bearer
Query parameters
Filter events created after this date (limited to the last 30 days)
Order direction of the events list asc or desc (default: desc)
API version of the events to return v1 or v2 (default: based on registered webhook endpoint versions)
The page of results to return. Defaults to 1 if not provided.
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.
Response
OK
Example response
{
"items": [
{
"id": "evt_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"platform_id": "pt_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"created": "2024-12-01T00:00:00Z",
"data": {
"options": {
"property_name_case_insensitive": true
}
}
}
],
"page": 1,
"page_size": 20,
"total_count": 1
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- breaking
the
queryrequest parameterorder_directionwas restricted to a list of enum values - breaking
the
queryrequest parameterversionwas restricted to a list of enum values - warning
for the
queryrequest parameterorder_direction, the type of propertyallOf[OrderDirectionEnumParameter]/changed fromobjecttostring - warning
for the
queryrequest parameterversion, the type of propertyallOf[WebhookVersionEnumParameter]/changed fromobjecttostring - info
added the new enum value
ascto thequeryrequest parameterorder_direction - info
added the new enum value
descto thequeryrequest parameterorder_direction - info
added the new enum value
v1to thequeryrequest parameterversion - info
added the new enum value
v2to thequeryrequest parameterversion - info
added the enum value
ascto the propertyallOf[OrderDirectionEnumParameter]/of thequeryrequest parameterorder_direction - info
added the enum value
descto the propertyallOf[OrderDirectionEnumParameter]/of thequeryrequest parameterorder_direction - info
added the enum value
v1to the propertyallOf[WebhookVersionEnumParameter]/of thequeryrequest parameterversion - info
added the enum value
v2to the propertyallOf[WebhookVersionEnumParameter]/of thequeryrequest parameterversion - info
for the
queryrequest parameterorder_direction, the type was generalized from no type tostring - info
for the
queryrequest parameterversion, the type was generalized from no type tostring
- breaking