SendLit logoSendLit Docs
API ReferenceOrganizationsOrganizationidAudit events

List recent organization audit events

GET
/organizations/{organizationId}/audit-events
x-sendlit-apikey<token>

In: header

Path Parameters

organizationId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://api.sendlit.dev/organizations/string/audit-events"
{
  "items": [
    {
      "action": "string",
      "actorType": "user",
      "teamId": "string",
      "espId": "string",
      "grantId": "string",
      "metadata": {
        "property1": null,
        "property2": null
      },
      "createdAt": "string"
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}