Get Available Languages
This method is used to get what languages are available for the client in the voice recognition engine.
Get Available Languages
GET Https://api.biometrid.com/api/1.0/users/:userId/voice/available-languages
Get available languages available for the voice recognition engine.
Path Parameters
Name
Type
Description
userID
string
BiometrID user ID
Headers
Name
Type
Description
Content-type
string
Request content type (This is not required to be set. Referenced only to show how we expect data to be sent). { "Content-Type": "multipart/form-data" }
x-biometrid-key
string
Application Client Key
x-biometrid-secret
string
Application Client Secret
//Get Available Languages
{
"status": true,
"data": {
"languages": [
"en",
"es"
]
}
}
// Missing Headers
{
"status": false,
"data": {
"message": "AUTHENTICATION_HEADERS_MISSING"
}
}{
"status": false,
"data": {
"message": "INVALID_AUTHENTICATION_HEADERS"
}
}// No active engine configuration for this provider.
{
"status": false,
"data": {
"message": "NO_VOICE_ENGINE_CONFIGURATION_AVAILABLE"
}
}
// User's id not exists in biometrid environment.
{
"status": false,
"data": {
"message": "USERID_NOT_EXISTS"
}
}
//Client not found by given key.
{
"status": false,
"data": {
"message": "CLIENT_NOT_FOUND/CHECK_AUTHENTICATION_HEADERS"
}
}Success 200
Field
Type
Description
status
Boolean
Response status.
data
Object
Response main data.
languages
Array
Array containing all language code available.
Last updated
Was this helpful?