Voicemail

Retrieve voicemail server

get

Retrieve voicemail server information.

Authorizations
Responses
200
OK
application/json
get
GET /api/voicemail HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "extension_number": "text",
  "retain_days": 30,
  "min_seconds": 1
}

Update voicemail server

post

Update voicemail server

Authorizations
Body
extension_numberall ofOptional

The extension number of voicemail server.

string · min: 3 · max: 64Optional

The extension number.

Pattern: [0-9]{3,64}
retain_daysinteger · int32Optional

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

Default: 30
min_secondsinteger · int32Optional

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

Default: 1
Responses
200
OK
post
POST /api/voicemail HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "extension_number": "text",
  "retain_days": 30,
  "min_seconds": 1
}

No content