Read or export workspace audit events
GET
/audit-events
const url = 'https://api.invogi.com/v1/audit-events?limit=1000&format=json';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.invogi.com/v1/audit-events?limit=1000&format=json' \ --header 'Authorization: Bearer <token>'ANALYST or higher. JSON is the default. CSV additionally requires the audit-export capability. Filters use inclusive timestamp bounds at midnight for the supplied ISO dates.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Query Parameters
Section titled “Query Parameters”from
string
to
string
limit
integer
format
string
Responses
Section titled “Responses”Successful response
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string
organizationId
required
null | string
actorType
required
string
actorUserId
required
null | string
actorLabel
required
null | string
action
required
string
targetType
required
null | string
targetId
required
null | string
metadata
required
createdAt
required
string format: date-time
Example generated
{ "items": [ { "id": "example", "organizationId": "example", "actorType": "example", "actorUserId": "example", "actorLabel": "example", "action": "example", "targetType": "example", "targetId": "example", "metadata": "example", "createdAt": "2026-04-15T12:00:00Z" } ]}Invalid request
Media typeapplication/json
Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json