API referenceOrganization
POST /organizations
Create a new organisation owned by the signed-in user and switch to it. Everybody gets one free organisation. Check user_me_orgAllowance first: when the free allowance is used up, the organisation is either created unpaid (paymentRequired: true, it ingests nothing until someone activates a paid plan in the dashboard) or refused with ORG_LIMIT_REACHED.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/organizations" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'{ "$schema": "https://example.com/schemas/CreateOrganizationOutputBody.json", "hint": "string", "organization": { "id": "string", "name": "string", "slug": "string" }, "paymentRequired": true}description?string
Length
length <= 500name*string
Length
1 <= length <= 120slug*string
URL name: lowercase letters, digits and single hyphens
Match
^[a-z0-9]+(-[a-z0-9]+)*$Length
1 <= length <= 64