Docs
Add Organization
POST /Organizations
POST
/OrganizationsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
Creates a new organization. The authenticated user is automatically assigned OrganizationAdmin permission. A Stripe customer record is also created and linked to the organization.
Returns 201 Created with the new organization ID.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Display name for the organization. |
Response
| Field | Type | Description |
|---|---|---|
| organizationId | Guid | ID of the newly created organization. |