WorkOS

API

APIs for enterprise SSO, directory sync, user management and audit logs

Price
Free tier, then paid
Access
API key

About

Identity APIs for B2B SaaS: AuthKit user management, SAML and OIDC single sign-on, SCIM directory sync, roles, audit logs and Radar bot protection. AuthKit is free up to 1 million monthly active users; SSO and directory sync are billed per connection.

What you can do with it

  • Add SAML and OIDC single sign-on for enterprise customers with a self-serve admin portal
  • Sync users and groups from Okta or Entra ID with SCIM directory sync
  • Record and export audit log events, or stream them to a customer's SIEM

Get started

  1. Create a WorkOS account and copy the API key from the dashboard
  2. Create an organization for each enterprise customer
  3. Set up its SSO connection in the dashboard or the admin portal

Example

curl --request POST \
  --url "https://api.workos.com/organizations" \
  --header "Authorization: Bearer $WORKOS_API_KEY" \
  --header "Content-Type: application/json" \
  -d '{"name":"Foo Corp","domain_data":[{"domain":"foo-corp.com","state":"pending"}]}'

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
JavaScript/TypeScript, Python, Go, Ruby, PHP, Java, C#, Elixir, Rust, Swift, Kotlin
MCP server
Remote

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .