Skip to main content
POST
Request single sign-on or Directory Sync

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Body

application/json
kinds
enum<string>[]
required
Minimum array length: 1
Available options:
sso,
dsync
domains
string[]
required
Required array length: 1 - 10 elements
Example:
note
string

Anything the operator should know: the identity provider, the number of people.

Maximum string length: 1000

Response

Stored as pending. Nothing was created in WorkOS.

request
object
required

A workspace's request for a WorkOS organization, for single sign-on and/or Directory Sync (#325). Filing one creates nothing in WorkOS: a Hookie operator approves or rejects it, and only approval creates the organization.