Skip to content

Make an organization, with an invitation for its first administrator

POST
/api/platform/organizations
curl --request POST \
--url https://forge.example.com/api/platform/organizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "plan": "example", "seats": 1, "administrator": "example", "reason": "example" }'

With its name, plan, seats (none for no limit), the first administrator’s address and a reason. Answers the organization and a single-use invitation link to send to that person; nothing is e-mailed. On the shared managed instance any number may be made, and never on the plan trial, which only a sign-up gives. A dedicated or self-hosted instance holds one organization: it can be made here only while there is none.

Media typeapplication/json
object
name
required
string
plan
required
null | string
seats
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
administrator
required
string
reason
required
string

Example generated

{
"name": "example",
"plan": "example",
"seats": 1,
"administrator": "example",
"reason": "example"
}

OK

Media typeapplication/json
object
organization
required
object
id
required
string format: uuid
name
required
string
slug
required
string
status
required
string
plan
required
string
seats
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
people
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
models
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
createdAt
required
string format: date-time
features
required
trialEndsAt
null | string format: date-time
trialDeleteAt
null | string format: date-time
archivedAt
null | string format: date-time
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
invitationAddress
required
string
invitationExpiresAt
required
string format: date-time

Example generated

{
"organization": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"slug": "example",
"status": "example",
"plan": "example",
"seats": 1,
"people": 1,
"models": 1,
"createdAt": "2026-04-15T12:00:00Z",
"features": "example",
"trialEndsAt": "2026-04-15T12:00:00Z",
"trialDeleteAt": "2026-04-15T12:00:00Z",
"archivedAt": "2026-04-15T12:00:00Z",
"version": 1
},
"invitationAddress": "example",
"invitationExpiresAt": "2026-04-15T12:00:00Z"
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}