Query AI Toolbox Settings

Query AI toolbox settings.

Request URL

GET {base_url}/{api_path}/ai_toolbox/get?access_token={access_token}

Request parameters

No request parameters. Send the request URL directly to query AI toolbox settings.

Response parameters

Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
data Object<AI_Toolbox> The AI toolbox settings.
AI_Toolbox
Parameter Type Description
enable_voicemail_transcription Integer Whether voicemail transcription is enabled.
  • 0: Disabled.
  • 1: Enabled.
voicemail_transcription_language String The language used for voicemail transcription.
auto_detect_language String The languages available for automatic language detection in voicemail transcription.
voicemail_grant_type String The extensions allowed to use voicemail transcription.
  • all: All extensions are allowed to use voicemail transcription.
  • specific: Only specific extensions are allowed to use voicemail transcription.
allowed_voicemail_entities Array<Allowed_List> The list of extensions allowed to use voicemail transcription.
vm_transcription_type String The type of voicemail transcription service.
  • built-in: Use the built-in transcription service.
  • custom: Use a custom transcription service.
vm_transcription_provider String The provider of voicemail transcription service.
  • aws
  • google
  • openai
  • elevenlabs
vm_transcription_region String The server region of the voicemail transcription service.
vm_transcription_api_id String The API ID for the voicemail transcription service.
vm_transcription_api_key String The API key for the voicemail transcription service.
vm_transcription_api_key_filename String The filename of the Google service account credential file for voicemail transcription.
vm_transcription_model String The model used for voicemail transcription with OpenAI.
vm_transcription_status String The connection status of the voicemail transcription service.
  • disconnected
  • connected
  • error
  • expire
Allowed_List
Parameter Type Description
value String The ID of the object.

Example

Request example

GET /openapi/v1.0/ai_toolbox/get?access_token=xVx9wX2B38gSD0C2o4y9b9bd5QOPz2MK HTTP/1.1
Host: 192.168.5.150:8088

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS",
    "data": {
        
        "enable_voicemail_transcription": 1,
        "voicemail_grant_type": "all",
        "allowed_voicemail_entities": null,
        
        
        
        "voicemail_transcription_language": "auto",
        "auto_detect_language": "en-GB ar-AE",
        
        
        
        
        
        
        
        
        
        "vm_transcription_type": "custom",
        "vm_transcription_provider": "aws",
        "vm_transcription_api_key": "****",
        "vm_transcription_api_id": "****",
        "vm_transcription_region": "ap-northeast-1",
        "vm_transcription_model": "",
        "vm_transcription_status": "expire",
        
        
        
        
        
        
        
        
        
        
        
        "vm_transcription_api_key_filename": ""
        
        
    }
}