POST/api/v2/mor/public/companies

Provision a MoR child company and its admin using a company's API key with MoR enabled.

Authentication

Send your API key in the x-api-key header on every request.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
CompanyNamestringYes
LegalNamestringYes
RegistrationNumberstringNo
CountrystringNo
AdminEmailstringYes
AdminFirstNamestringYes
AdminLastNamestringYes
AdminPasswordstringYes
TierIdunknownNo

Responses

201 — Created

Response 201 fields
FieldTypeRequiredDescription
CompanyIdunknownNo
AdminUserIdunknownNo
AdminEmailstringNo

Example request

curl -X POST "https://{base_url}/api/v2/mor/public/companies" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"CompanyName":"…","LegalName":"…","AdminEmail":"…","AdminFirstName":"…"}'

This page is generated from the live OpenAPI specification and always matches the current API.