Voicemail

Retrieve voicemail server

get

Retrieve voicemail server information.

Authorizations
Responses
curl -L \
  --url 'https://HOSTNAME:8887/api/voicemail' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "extension_number": "text",
  "retain_days": 1,
  "min_seconds": 1
}

Update voicemail server

post

Update voicemail server

Authorizations
Body
extension_numberall ofoptional

The extension number of voicemail server.

The extension number.

retain_daysinteger · int32 · default: 30optional

Duration the voicemail will be kept before auto deleted, in days.

min_secondsinteger · int32 · default: 1optional

The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail.

Responses
curl -L \
  --request POST \
  --url 'https://HOSTNAME:8887/api/voicemail' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "extension_number": "text",
    "retain_days": 1,
    "min_seconds": 1
  }'

No body

Was this helpful?