Skip to main content
Organization events track administrative actions related to organization configuration, domain management, and member access views. These events record changes to organization settings and views of organization-level information.
All organization events include the standard actor, targets, context, and metadata fields. The schemas below show event-specific fields.

organization.create

Records when a new organization is created during user onboarding.

Triggered When

User completes the onboarding flow and creates their first organization.

Event Schema

string
required
organization.create
array
required
string
required
Page route where organization was created (typically onboarding flow route)

Example Event


organization.update_name

Records when an organization’s name is changed.

Triggered When

Admin updates the organization name in organization settings.

Event Schema

string
required
organization.update_name
array
required
string
required
Always organization_settings

Example Event


organization.view_settings

Records when a user views the organization settings page.

Triggered When

User navigates to the organization details/settings page.

Event Schema

string
required
organization.view_settings
array
required
string
required
Page route (e.g., /organizations/[orgId]/details)

Example Event


organization.view_domains

Records when a user views the organization’s domain management page.

Triggered When

User navigates to the organization domains page.

Event Schema

string
required
organization.view_domains
array
required
string
required
Page route (e.g., /organizations/[orgId]/domains)

Example Event


organization.delete_domain

Records when a domain is removed from an organization.

Triggered When

Admin deletes a verified domain from the organization’s domain list.

Event Schema

string
required
organization.delete_domain
array
required
string
required
Page route where domain was deleted

Example Event


organization.list_memberships

Records when a user views the list of organization members.

Triggered When

User queries the organization members list via the members API endpoint.

Event Schema

string
required
organization.list_memberships
array
required
string
required
Page route where members were listed
string
required
Page number in pagination (as string)
string
required
Number of results per page (as string)
string
required
Total number of members returned (as string)
string
Search query used to filter members (empty string if no filter)

Example Event


organization.list_workos_events

Records when a user views the organization’s audit log events.

Triggered When

User queries the audit log events via the WorkOS events API endpoint.

Event Schema

string
required
organization.list_workos_events
array
required
string
required
Page route where events were viewed
string
First chunk of event type filters (comma-separated, max 500 chars)
string
Second chunk of event type filters (if first chunk exceeded 500 chars)
string
Third chunk of event type filters (if second chunk exceeded 500 chars)
string
required
Number of events requested (as string)
string
required
Total number of events returned (as string)
string
Start of date range filter (ISO 8601 timestamp, empty if not specified)
string
End of date range filter (ISO 8601 timestamp, empty if not specified)
string
Pagination cursor for next page (empty if not specified)

Example Event

Event type filters are split across events_1, events_2, and events_3 fields because WorkOS has a 500-character limit per metadata field. The event types are comma-separated within each chunk.

organization.create_domains_portal_url

Records when an admin generates a URL to access the WorkOS domains management portal.

Triggered When

Admin requests access to the WorkOS self-service domain verification portal.

Event Schema

string
required
organization.create_domains_portal_url
array
required
string
required
Page route where portal URL was generated

Example Event


Projects

Project-level settings and configuration changes

Project Memberships

User access grants and role changes for projects

SSO

Single sign-on configuration for organizations

Directory Sync

Automated user provisioning and directory connections