Skip to main content
GET
/
api
/
auth
/
workos
/
authorize
Start WorkOS authorization flow
curl --request GET \
  --url https://your-instance.example.com/api/auth/workos/authorize
{
  "error": "Invalid or expired token",
  "code": "TOKEN_EXPIRED"
}

Query Parameters

redirect_uri
string
state
string
login_hint
string
organization_id
string

Only forwarded when the value starts with "org_".

prompt
string

Response

Redirect to WorkOS authorization URL