Edit AI Toolbox Settings

Edit the AI toolbox settings.

Request URL

POST {base_url}/{api_path}/ai_toolbox/update?access_token={access_token}

Request parameters

Parameter Required Type Description
enable_voicemail_transcription No Integer Whether to enable voicemail transcription.

Valid value:

  • 0: Disabled.
  • 1: Enabled.
voicemail_transcription_language No String The language for voicemail transcription.
auto_detect_language No String The languages available for automatic language detection in voicemail transcription.
voicemail_grant_type No String The extensions allowed to use voicemail transcription.

Valid value:

  • all: All extensions are allowed to use voicemail transcription.
  • specific: Only specific extensions are allowed to use voicemail transcription.
allowed_voicemail_entities No Array<Allowed_List> The list of extensions allowed to use voicemail transcription.
Note: This parameter takes effect when voicemail_grant_type is set to specific.
vm_transcription_type No String The type of voicemail transcription service.

Valid value:

  • built-in: Use the built-in transcription service.
  • custom: Use a custom transcription service.
vm_transcription_provider No String The provider of voicemail transcription service.
Note: This parameter takes effect when vm_transcription_type is set to custom.

Valid value:

  • aws
  • google
  • openai
  • elevenlabs
vm_transcription_region No String The server region of the voicemail transcription service.

Valid value for AWS:

  • af-south-1
  • ap-east-1
  • ap-northeast-1
  • ap-northeast-2
  • ap-south-1
  • ap-southeast-1
  • ap-southeast-2
  • ca-central-1
  • eu-central-1
  • eu-north-1
  • eu-west-1
  • eu-west-2
  • eu-west-3
  • sa-east-1
  • us-east-1
  • us-east-2
  • us-west-1
  • us-west-2
Valid value for Google:
  • us
  • eu
  • asia-northeast1
  • asia-southeast1
vm_transcription_api_id No String The API ID for the voicemail transcription service, encoded in Base64.
vm_transcription_api_key No String The API key for the voicemail transcription service, encoded in Base64.
vm_transcription_api_key_filename No String The filename of the Google service account credential file for voicemail transcription.
vm_transcription_model No String The model used for voicemail transcription with OpenAI.
Valid value:
  • gpt-4o-transcribe
  • gpt-4o-mini-transcribe
  • gpt-4o-mini-transcribe-2025-12-15
  • whisper-1
Allowed_List
Parameter Type Description
value String The ID of the object in the list.
Note: You can obtain the corresponding IDs using the following interfaces:

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.

Example

Request example

POST /openapi/v1.0/ai_toolbox/update?access_token=xVx9wX2B38gSD0C2o4y9b9bd5QOPz2MK HTTP/1.1
Host: 192.168.5.150:8088
Content-Type: application/json
{
    "enable_play_transcription_prompt": 1
}

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS"
}