GET /workspaces/{workspace_id_or_slug}/audit_logs

Get audit logs for a workspace.

This endpoint requires an Enterprise workspace and a workspace token with the workspace_activity:read scope. Create a workspace token from your workspace dashboard integrations page to use this endpoint.

Required scope | workspace_activity:read

Servers

Path parameters

Name Type Required Description
workspace_id_or_slug String Yes

Unique identifier or slug for a Workspace

Query parameters

Name Type Required Description
to String No

The end date to filter by

sortOrder String No

Sorts the results by asc or desc

Possible values:

  • "desc"
  • "asc"
limit Number No

Maximum number of records to be returned (max limit: 100)

eventType String No

The event type to filter by

Possible values:

  • "custom_role"
  • "site_membership"
  • "user_access"
  • "workspace_invitation"
  • "workspace_membership"
offset Number No

Offset used for pagination if the results have more than limit records

from String No

The start date to filter by

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.