---
title: "List workspace access changes"
method: GET
path: "/workspaces/{id}/access-audit"
tags: ["Workspaces"]
---

# List workspace access changes

`GET /workspaces/{id}/access-audit`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workspaces/{id}/access-audit`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

Returns the newest role, member-state, invitation, and removal events. Requires an active workspace administrator.

## Path parameters

- `id` string, required: Workspace ID

## Query parameters

- `limit` integer: Maximum events to return

## Response `200`

OK

- WorkspaceAccessAuditResponse[], nullable
  - `action` string, required
  - `actor_user_id` string
  - `created_at` string, required
  - `id` string, required
  - `invitation_id` string
  - `previous_role` string
  - `previous_status` string
  - `role` string
  - `status` string
  - `subject_email` string
  - `subject_user_id` string
  - `workspace_id` string, required

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
