---
title: Admin Portal
description: View Audit Log events for an organization in the WorkOS Admin Portal.
originalPath: .tmp-workos-clone/packages/docs/content/audit-logs/admin-portal.mdx
---

## Creating Admin Portal Link

Audit Log events can be viewed in the WorkOS [Admin Portal](/admin-portal). Links can be generated through the WorkOS API and sent to your customers for viewing events associated with their Organization.

When creating a link for an Admin Portal session, you must provide the Organization ID whose events will be displayed in the Admin Portal, and specify the intent as `audit_logs`.

<CodeBlock
  title="Create Admin Portal Link for Audit Logs"
  file="create-admin-portal-link"
/>

Navigating to the provided link will result in the following view. Users will be able to view and export Audit Log events just as can be done through the WorkOS Dashboard.

![A screenshot showing Audit Log events in the WorkOS Admin Portal.](https://images.workoscdn.com/images/e08a07dd-4539-4c5a-9802-63d7c774b2c9.png?auto=format&fit=clip&q=50)
