Skip to content
Torii docs

Create a new organization. The caller becomes its owner.

POST
/_torii/organizations
curl --request POST \
--url https://your-app.torii.so/_torii/organizations \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'
Media type application/json
object
name
required
string
>= 1 characters <= 200 characters
Example generated
{
"name": "example"
}

OK

Media type application/json
object
id
required
string format: uuid
name
required
string
role
required
string
roleName
string | null
createdAt
required
string format: date-time
Example generated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"role": "example",
"roleName": "example",
"createdAt": "2026-04-15T12:00:00Z"
}