API Overview

Centralized source of truth for organizations, users, and permissions

Organizations
Manage organizations with WorkOS Directory Sync integration
CRUD Operations
Users
User management with SSO authentication via WorkOS AuthKit
SSO Ready
Permissions
Fine-grained RBAC with roles and permissions
RBAC
API Endpoints
All endpoints require Bearer token authentication. Include your API key in the Authorization header.
GET/api/v1/organizations
POST/api/v1/organizations
GET/api/v1/organizations/:id
PUT/api/v1/organizations/:id
DELETE/api/v1/organizations/:id
GET/api/v1/users
POST/api/v1/users
GET/api/v1/users/:id
PUT/api/v1/users/:id
DELETE/api/v1/users/:id
GET/api/v1/roles
GET/api/v1/permissions
GET/api/v1/memberships
POST/api/v1/memberships
POST/api/v1/keys
GET/api/v1/keys
POST/api/v1/keys/:id?action=rotate
DELETE/api/v1/keys/:id
Authentication
Include your API key in all requests using the Authorization header
curl -X GET \
  -H "Authorization: Bearer gr_your_api_key_here" \
  -H "Content-Type: application/json" \
  https://your-domain.com/api/v1/organizations