Voicemail
Create voicemail
Create voicemail settings for a phone number. You can also configure a custom greeting by setting the greeting object: use mode custom_greeting together with a media_name that points to an audio file uploaded through the Media Storage API, or mode default to use the standard system greeting.
post/phone_numbers/{phone_number_id}/voicemail
Request body
Example request
{
"enabled": true,
"pin": "1234",
"greeting": {
"mode": "custom_greeting",
"media_name": "my_voicemail_greeting"
}
}Response
Successful response
Example response
{
"data": {
"enabled": true,
"pin": "1234",
"greeting": {
"mode": "custom_greeting",
"media_name": "my_voicemail_greeting"
}
}
}Changes
Changed in 1 of the 99 revisions of this API.2
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 99 revisions, 1 has no diff computed.