The organization's audit log, newest first (admin)
const url = 'https://api.vexarn.dev/api/org/audit?category=admin&action=organization.sso_updated&from=2026-11-10T12%3A00%3A00.000Z&to=2026-11-10T12%3A00%3A00.000Z';const options = { method: 'GET', headers: {cookie: '__Host-vexarn.session_token=<__Host-vexarn.session_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.vexarn.dev/api/org/audit?category=admin&action=organization.sso_updated&from=2026-11-10T12%3A00%3A00.000Z&to=2026-11-10T12%3A00%3A00.000Z' \ --cookie __Host-vexarn.session_token=<__Host-vexarn.session_token>Changes and security events of this organization for 180 days. Vexarn staff actions show as staff, without who.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
organization.sso_updatedEvents at or after this time.
Example
2026-11-10T12:00:00.000ZEvents at or after this time.
Events at or before this time.
Example
2026-11-10T12:00:00.000ZEvents at or before this time.
nextCursor of the previous page.
nextCursor of the previous page.
Default 50.
Default 50.
Responses
Section titled “Responses”A page of events
object
object
member: a person of the organization. staff: Vexarn staff, never who. system: nobody acted (an SSO sign-in, the daily domain re-check).
object
object
object
object
A member’s client address; null for staff and system.
Pass as cursor for the next (older) page; null on the last page.
Example
{ "events": [ { "createdAt": "2026-11-10T12:00:00.000Z", "category": "admin", "action": "organization.sso_updated", "actor": { "kind": "member", "role": "member" }, "target": { "type": "user" } } ]}Invalid parameters or body (validation_error)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}No session
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Your role is below admin (forbidden, recorded in the security log), or a change came from another origin than the web app (forbidden_origin)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}A personal account (not_in_organization)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Too many requests from this user or client address
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Headers
Section titled “Headers”Seconds until the rate limit window resets