Make an organization, from an invitation or by signing up

A signed-in person makes an organization and is its one owner.

POST/v1/organisations

A signed-in person makes an organization and is its one owner. With invitation, a staff invitation is redeemed (invited customers): a repeat by the same person answers the organization it made (200), and an invitation that is unknown, expired or someone else's is not_found. With accept, the person signs up (public sign-up): it is forbidden while public sign-up is closed, and the organization starts on the free plan in the new trust tier. accept names, for every document a person accepts at sign-up, the version they read; a version that is no longer the current one is conflict, so the person reads it again. Sign-ups are capped per network and a person holds a limited number of free organizations, against abuse of the free plan (rate_limited, with retry_after_s; conflict). Send exactly one of invitation and accept. An API key answers person_required: only a person signs up.

For people only: a signed-in person's token makes this call. An API key is refused with person_required.

Request

curl -X POST "https://api.pod.mapier.ai/v1/organisations" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"example"}'

Parameters

NameInTypeRequiredWhat it is
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Body

FieldTypeRequiredWhat it is
namestringYes
invitationstringNoA staff invitation's token. Not with accept.
acceptLegalAcceptanceNoFor public sign-up: the version of each sign-up document the person read and accepts. Not with invitation.

Answer

200. The organization this person already made from this invitation, or with this key.

201. The organization, made.

200
{
  "id": "org_3ahrz6dmv29gqy5ckt18fp",
  "name": "example",
  "standing": "good",
  "plan": "example",
  "role": null,
  "created_at": "2026-11-23T12:00:00.000Z",
  "closure": null
}
FieldTypeAlwaysWhat it is
idstringYes
namestringYes
standing"good" | "past_due" | "suspended" | "closed"YesThe organization's standing; past due and suspended answer account_restricted on creates and wakes, and closed (its owner closed it) on every call.
planstringYes
role"owner" | "admin" | "member" | "viewer" | nullYesThe calling person's role; null for an API key.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
closureClosure | nullYesThe last closure, or null if it was never closed.

Errors

The refusals this call is known for: invalid, person_required, forbidden, not_found, conflict, rate_limited. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.organisations.create({ name, … })
Pythonpod.organisations.create(name, …)