cURL
curl --request POST \ --url https://api.staging.whilst.app/api/auth/signup \ --header 'Content-Type: application/json' \ --data ' { "workspaceName": "Acme Inc", "email": "founder@acme.com" } '
{ "redirectUrl": "<string>", "organizationId": "<string>" }
Creates a new WorkOS organization and database account, then initiates the authentication flow for the workspace creator.
Name of the workspace to create
1
"Acme Inc"
Email address of the workspace creator
"founder@acme.com"
Workspace created, redirect to WorkOS for verification
WorkOS authorization URL for email verification
WorkOS organization ID for the created workspace
Was this page helpful?