Voicemail
Update voicemail server
Authorizations
Body
extension_numberall ofOptional
The extension number of voicemail server.
string · min: 3 · max: 64OptionalPattern:
The extension number.
[0-9]{3,64}
retain_daysinteger · int32OptionalDefault:
Duration the voicemail will be kept before auto deleted, in days.
30
min_secondsinteger · int32OptionalDefault:
The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail.
1
Responses
200
OK
4XX
Error
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