Company
Create a KLARA business company
A Klara user might have multiple company tenants. Use this endpoint to create a business company and its correspondence tenant. Use your KLARA token from your username & password & tenant-id.
post/core/v2/tenants/companies
Request
- Base URL: https://api.klara.ch
- URL: https://api.klara.ch/core/v2/tenants/companies
- Auth: one of:
- API key in header X-API-KEY
- HTTP bearer
Request body
Example request
{
"name": "ABC-Corp",
"legalForm": "LIMITED_LIABILITY",
"phones": [
{
"id": "1",
"phoneNumber": "+41783334444",
"type": "PRIVATE"
}
],
"emails": [
{
"id": "1",
"emailAddress": "example@gmail.com",
"type": "PRIVATE"
}
],
"addresses": [
{
"id": "1",
"addressLines": "Chemin de la Caquerette 12",
"addressType": "WORK",
"cityName": "Bern",
"cityZipCode": "3003",
"countryIso2Code": "CH",
"countryIso3Code": "CHE",
"countryNumericCode": "756",
"city_href": "https://api.klara.ch/core/latest/cities/1",
"definitionName": "2nd address",
"additionalAddress": "No. 13, street 123"
}
],
"language": "de",
"corporateIdentificationNumber": "CHE-123.456.789",
"foundingDate": "2019-12-20"
}Response
Tenant and company created
Example response
[
{
"tenant_id": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"company_id": 1,
"company_name": "ABC Company"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.