API reference
Languages details
Company language management
Find languages
List languages available for the company.
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
property_id |
string | No | Optional property context |
include_deleted |
boolean | No | Include deleted languages |
Show properties
GET /api/admin/company/languages HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{
"result": [{
"id": "EN",
"name": "English",
"country": "US",
"is_active": true,
"is_custom": false,
"is_deleted": false
}]
}Create language
Create a custom language for the company or property.
Show properties
POST /api/admin/company/languages HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* { "property_id": "string", "code": "DE", "name": "German", "is_active": false }
{
"result": {
"id": "EN",
"name": "English",
"country": "US",
"is_active": true,
"is_custom": false,
"is_deleted": false
}
}Export property language data
Download a property's languages and translations as a signed JSON attachment.
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
property_id |
string | Yes | Property to export. |
```schema response 200 Language export payload (downloadable JSON attachment, not { result }-wrapped).
{"type":"object","properties":{"languages":{"type":"object","description":"Exported property-level languages."},"translations":{"type":"object","description":"Exported property translations."},"kind":{"type":"string","description":"Export type marker, always EXPORT_LANGUAGE.","example":"EXPORT_LANGUAGE"},"filter":{"type":"object","properties":{"property_id":{"type":"string","format":"uuid"},"company_id":{"type":"string","format":"uuid"}}},"sv":{"type":"string","description":"Integrity signature validated on import."}}}
```http-response 200 Language export payload (downloadable JSON attachment, not `{ result }`-wrapped).
{
"languages": {},
"translations": {},
"kind": "EXPORT_LANGUAGE",
"filter": {
"property_id": "string",
"company_id": "string"
},
"sv": "string"
}
GET /api/admin/company/languages/export HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Import property language data
Import a previously exported language payload into a property.
Show properties
POST /api/admin/company/languages/import HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* { "property_id": "string", "content": {} }
{
"result": {
"languages": [{}],
"translations": {}
}
}Read language
Get details for a specific language.
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
property_id |
string | No | Optional property context |
Show properties
GET /api/admin/company/languages/{id} HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{
"result": {
"id": "EN",
"name": "English",
"country": "US",
"is_active": true,
"is_custom": false,
"is_deleted": false
}
}Update language
Update an existing language.
Show properties
PUT /api/admin/company/languages/{id} HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* { "property_id": "string", "name": "string", "is_active": false }
{
"result": {
"changed": true
}
}Delete language
Soft-delete a language from the company or property.
Query parameters:
| Name | Type | Required | Description |
|---|---|---|---|
property_id |
string | No | Optional property context |
Show properties
DELETE /api/admin/company/languages/{id} HTTP/1.1 Host: {instance}.clym.io Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{
"result": {
"deleted": true
}
}