Skip to main content

GET /audit-events

GEThttps://api.courier.com/audit-events
Fetch the list of audit events
QUERY PARAMS
cursorstring
A unique identifier that allows for fetching the next set of audit events.
Responses
AUTH TOKEN
curl --request GET \
--url https://api.courier.com/audit-events?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA%3D%3D \
--header 'Accept: application/json'
Response Example
{
"paging": {
"cursor": "MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA==",
"more": true
},
"results": [
{
"auditEventId": "ZX3xXUMNKL4y2NkiKgstl",
"actor": {
"id": "foo-user",
"email": "joe.fake@gmail.com"
},
"target": {
"id": "EF607F6E84A34305AE98B6TR",
"email": "jane.doe@gmail.com"
},
"source": "courier.studio",
"timestamp": "2022-07-05T22:30:24.662Z",
"type": "user:role-changed"
}
]
}