Skip to main content
POST
Create Organization

Headers

authorization
string | null

Body

application/json

Request model for creating a new organization.

name
string
required

Organization name

Required string length: 1 - 255
description
string | null
default:""

Organization description

Response

Successful Response

Response model for organization data.

id
string
required

Organization ID

name
string
required

Organization name

public_id
string
required

URL-friendly public identifier

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

description
string | null

Organization description

invite_mode
string | null

Invite mode (open or restricted)

is_public
boolean
default:false

Whether the org is published for anonymous read

role
enum<string> | null

Current user's role

Available options:
owner,
editor,
viewer
member_count
integer | null

Number of members

node_count
integer | null

Number of nodes

root_node_id
string | null

ID of the organization's root node