Skip to main content
POST
Create an organization

Authorizations

scribe_session
string
cookie
required

Browser session cookie set by the WorkOS sign-in flow.

Body

application/json

Name of the new organization.

Create a new organization.

name
string
required

Name of the new organization. Its URL-safe slug is derived from this name.

Required string length: 1 - 200
Example:

"Rocket Co."

Response

The created organization and the caller’s role in it.

A freshly created organization together with the creator's role in it.

org
object
required

An organization (workspace) including its member count.

Example:
role
enum<string>
required

The caller's role in the organization they just created — always 'owner'.

Available options:
owner,
admin,
member
Example:

"member"