User Tools

Site Tools


api:flexcare:dialog:config

API : FlexCare : Dialog : Config

Introduction

This endpoint fetches the configuration for dialog application

Request

URL https://api.telecomx.dk/flexcare/dialog/config
Method GET
Params token Access token associated with a license on a dialog profile

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>
api/flexcare/dialog/config.txt · Last modified: 2025/08/19 11:10 by Mikkel Frederiksen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki