API : FlexCare : Dialog : Config
Introduction
This endpoint fetches the configuration for dialog application
Request
Query example
https://api.telecomx.dk/flexcare/dialog/config
Response
| JSON Object |
| languages |
| _<Native name of language> | DialogLanguage - JSON Object | The key is the native name of the language and the value is an object containing details of the language |
| DialogLanguage - JSON Object |
| _id | ObjectId | Unique id of the language |
| name | String | English name of the language |
| nativeName String | Native name of the language | |
| translation | String<ollama, nllb> | Translation engine to use when translating |
| model | String | AI Model to use |
| voice | String | Voice used for TTS |
| verify | Boolean | If true under translation it will double check that the translation is correct |
| code | String<ISO 639-1> | Language code |
| country | String<ISO 3166> | Code of the country |
| speak | String<ISO 639-1> | Code of language to speak in |
| keyboardLang | String<ISO 639-1> | Language to use for keyboard |
| keyboardCountry | String<ISO 3166> | Country to use for keyboard |
| smallKeyboardLayout | String? | Stringified JSON object containing a configuration of how the keyboard should look |
| largeKeyboardLayout | String? | Stringified JSON object containing a configuration of how the keyboard should look |
Example
{
_id: '1234567890qwertyuiopqwer',
profileId: '1234567890qwertyuiopqwer',
accessToken: '1234567890qwertyuiopqwer1234567890qwertyuiopqwer',
lastSeen: '2025-08-12 12:00:00',
createdAt: '2025-08-12 12:00:00',
authenticatedBy: 'IP',
expire: '2025-08-12 12:00:00',
ipAtAuthentication: '127.0.0.1'
}
Errors
| Error code | Message | Description |
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Not Found |
| 500 | internal_error | <Unspecified> |