Retrieve voice mail
GET
/show
Retrieve voice mail
Path parameters
-
access_token
string
required
token to be passed as a header
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/voice_mail/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
auto_cleaning_voicemail_days
integer
Duration the voicemail will be kept before auto deleted, in days. -
voice_mail_not_save_if_less_seconds
integer
The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail. -
used_voicemail_quota
integer
Storage space for voicemail. -
extension_number
string
Extension number of voicemail.
Sample Response
{}
Update an voice mail
POST
/update
Update an voice mail
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
auto_cleaning_voicemail_days
integer
required
Duration the voicemail will be kept before auto deleted, in days. -
voice_mail_not_save_if_less_seconds
integer
required
The minimum length of a voicemail, in seconds. Any callings shorter than this value will not be saved as voicemail. -
extension_number
string
required
Extension number of voicemail.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/voice_mail/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Successful operation
Sample Response