Mediloop
PlatformOrganizations / TenantsCreate organization

Create organization

Platform

Create a new organization and initialize its core business identity and governance settings.

Isolation

Tenant-scoped by design

Hierarchy

Organizations + sub-organizations

Access

Membership + role context

Configuration

Policies, modules & branding

POST/v1/organizationsScope: organizations.write

Endpoint summary

MethodEndpointRequired scope
POST/v1/organizationsorganizations.write

Request body

FieldTypeRequiredDescription
namestringYesOrganization name
typestringYesOrganization type
legal_identifierstringNoApproved external legal identifier
parent_organization_idstringNoOptional parent organization

Example request

POST /v1/organizationsCopy
POST /v1/organizations
Authorization: Bearer $ACCESS_TOKEN
Content-Type: application/json

{
  "name":"Clinique Centrale",
  "type":"clinic",
  "country":"LU"
}

Example response

201 CreatedCopy
{
  "id":"org_01",
  "name":"Clinique Centrale",
  "type":"clinic",
  "status":"active"
}

Validation

RuleBehavior
AuthorizationCaller must have approved organization administration rights
UniquenessIdentifiers are server generated and immutable
OwnershipTenant ownership cannot be forged via request context
AuditCreation is attributed to the authenticated actor and context