WorkOS

api.workos.com

Community

WorkOS provides enterprise-ready authentication and identity infrastructure. It handles Single Sign-On (SSO), Directory Sync, Audit Logs, user management, and organization management so you can sell to enterprise customers.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.workos.com

Crawl failures

1

Last verified

2026-03-01 11:10:03

Health

Loading health data...

Capabilities

authenticate_user

email

Authenticate a user via AuthKit with email/password, magic auth, or social login. Returns a user object and session token.

Detail: https://api.workos.com/capabilities/authenticate_user

create_audit_log_event

developer-tools

Create an audit log event to track user activity for compliance and security. Events are immutable once created.

Detail: https://api.workos.com/capabilities/create_audit_log_event

create_organization

developer-tools

Create a new organization representing a customer company. Organizations group users and SSO connections together.

Detail: https://api.workos.com/capabilities/create_organization

get_sso_authorization_url

developer-tools

Generate an SSO authorization URL to redirect a user to their identity provider for login.

Detail: https://api.workos.com/capabilities/get_sso_authorization_url

list_connections

developer-tools

List all SSO connections in your environment. Filter by organization or connection type.

Detail: https://api.workos.com/capabilities/list_connections

list_directory_groups

developer-tools

List groups from a directory sync connection. Returns group names and membership information.

Detail: https://api.workos.com/capabilities/list_directory_groups

list_directory_users

developer-tools

List users from a directory sync connection. Returns provisioned user profiles from the identity provider.

Detail: https://api.workos.com/capabilities/list_directory_users

list_organizations

developer-tools

List all organizations in your WorkOS environment. Supports pagination and filtering by name or domain.

Detail: https://api.workos.com/capabilities/list_organizations

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: WorkOS
Description: WorkOS provides enterprise-ready authentication and identity infrastructure. It handles Single Sign-On (SSO), Directory Sync, Audit Logs, user management, and organization management so you can sell to enterprise customers.
Auth: api_key
Capabilities:
  - authenticate_user: Authenticate a user via AuthKit with email/password, magic auth, or social login. Returns a user object and session token.
  - create_audit_log_event: Create an audit log event to track user activity for compliance and security. Events are immutable once created.
  - create_organization: Create a new organization representing a customer company. Organizations group users and SSO connections together.
  - get_sso_authorization_url: Generate an SSO authorization URL to redirect a user to their identity provider for login.
  - list_connections: List all SSO connections in your environment. Filter by organization or connection type.
  - list_directory_groups: List groups from a directory sync connection. Returns group names and membership information.
  - list_directory_users: List users from a directory sync connection. Returns provisioned user profiles from the identity provider.
  - list_organizations: List all organizations in your WorkOS environment. Supports pagination and filtering by name or domain.