Loading...
Skip to main content

Get all audit events

URL: https://api.courier.com/audit-events

Method: GET

Query Parameters

cursorstring
A unique identifier that allows for fetching the next set of audit events.

Response

status: 200 OK

pagingobject
+ Show Properties
resultsarray
An array of Audit Events
+ Show Properties

Request Example

curl --request GET \
--url https://api.courier.com/audit-events?cursor=MTU4OTQ5NTI1ODY4NywxLTVlYmRjNWRhLTEwODZlYWFjMWRmMjEwMTNjM2I0ZjVhMA%3D%3D \
--header 'Accept: application/json'

Responses 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"
}
]
}