Skip to main content
POST
Create new workspace and user

Body

application/json
workspaceName
string
required

Name of the workspace to create

Minimum string length: 1
Example:

"Acme Inc"

email
string<email>
required

Email address of the workspace creator

Example:

"founder@acme.com"

Response

Workspace created, redirect to WorkOS for verification

redirectUrl
string<uri>
required

WorkOS authorization URL for email verification

organizationId
string
required

WorkOS organization ID for the created workspace