Skip to main content
POST
/
api
/
v1
/
orgs
Create Org
curl --request POST \
  --url https://api.example.com/api/v1/orgs \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "workos_org_id": "<string>",
  "plan": "free"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "slug": "<string>",
  "workos_org_id": "<string>",
  "plan": "free",
  "status": "active"
}

Documentation Index

Fetch the complete documentation index at: https://docs.xenovia.io/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string | null

Body

application/json
name
string
required
slug
string
required
workos_org_id
string
required
plan
enum<string>
default:free
Available options:
free,
pro,
enterprise

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
name
string
required
slug
string
required
workos_org_id
string
required
plan
enum<string>
required
Available options:
free,
pro,
enterprise
status
enum<string>
required
Available options:
active,
suspended,
deleted