List audit events
const url = 'https://example.com/api/v1/orgs/example/audit?actorKind=member&category=link';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://example.com/api/v1/orgs/example/audit?actorKind=member&category=link' \ --header 'Authorization: Bearer <token>'Returns organization audit events in reverse chronological order. Requires owner or admin role, the audit entitlement, and a session or org-wide API token.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization ID.
Query Parameters
Section titled “Query Parameters”Filter events by actor kind.
Filter events by category.
Case-insensitive substring search across actor, verb, target, and detail.
Opaque pagination cursor returned as nextCursor by the previous page.
Maximum number of items to return (1–500).
Responses
Section titled “Responses”Paginated audit events
object
Immutable organization audit log entry.
object
Display label or identifier of the actor.
Category of actor that triggered an audit event (member, recipient, or system).
ISO-8601 UTC timestamp of the event.
Functional category of an audit event.
Additional event context.
Resource name or identifier acted upon.
Human-readable action description.
Whether the member acted with an API token or MCP connection.
Example
{ "items": [ { "actor": "Alex Rivera", "actorEmail": "alex@example.com", "actorKind": "member", "at": "2026-11-01T12:00:00.000Z", "category": "link", "detail": "Expires 2026-12-01 · password off · no open limit", "id": "ae_01j9abc", "ip": "203.0.113.10", "place": null, "target": "q4.pdf", "ua": "Mozilla/5.0", "verb": "created a Gated link to", "viaToken": false } ]}Invalid request input or rule violation.
Error returned when request input fails schema validation or violates a domain rule.
object
object
Field-level validation failures, present when schema validation fails.
object
Dot-separated field path.
Human-readable error explanation.
Example
{ "code": "BAD_REQUEST"}Authentication required or credentials invalid.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Insufficient role, bucket grant, or token scope.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Unexpected server error. Quote data.requestId when you report it.
Error returned when Sendcrate or one of its providers fails (5xx).
object
object
Error chain with stack traces. Present only when the server runs in development mode.
Request reference to quote when you report the error.
Human-readable error explanation.
Example
{ "code": "INTERNAL_SERVER_ERROR"}