Events

Get Events

GET

Query parameters

organization_idstringOptional
typestringOptional
starting_afterdatetimeOptional
ending_beforedatetimeOptional
limitintegerOptional

Response

This endpoint returns an object
data
list of objectsOptional

Errors

GET
1curl -G https://app.polytomic.com/api/events \
2 -H "Authorization: Bearer <token>" \
3 -d organization_id=248df4b7-aa70-47b8-a036-33ac447e668d \
4 --data-urlencode starting_after=2020-01-01T00:00:00Z \
5 --data-urlencode ending_before=2020-01-01T00:00:00Z
1{
2 "data": [
3 {
4 "created_at": "2024-01-01T00:00:00Z",
5 "event": {
6 "key": "value"
7 },
8 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
9 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
10 "type": "sync.running"
11 }
12 ]
13}