Create a company.
Create a company.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Header Parameters
Olify-Tenant-Id*string
Tenant GUID the caller is allowed to access.
Format
uuidRequest Body
CreatedCompanyapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
Fields required to create a company.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/companies" \ -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }'Empty