Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page6 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
POST/api/integrations/get-audit-logsIntegrationsPermission: users.view

Get Security Audit Logs

Returns sanitized security audit events for the active tenant (restricted to interactive users holding `users.view`).

Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).

Request

Provide the following fields in the request payload.

Body application/json
eventstringoptional

event parameter.

outcomeenum('success' | 'denied' | 'failure')optional

outcome parameter.

limitintegeroptionaldefault: 50

limit parameter.

Responses

Select a status code to inspect schema.

OK — Security audit logs retrieved.application/json
successenum('true')

Success (true).

messagestring

Message.

dataobject | null

Response payload or null.

POST/api/integrations/get-audit-logs
curl -X POST "https://api.invoger.com/api/integrations/get-audit-logs" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{ "event": "auth.login", "outcome": "success", "limit": 50 }'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Security audit logs retrieved successfully",
  "data": {
    "items": [],
    "total": 0
  }
}