post https://api.fonestorm.com/v2/voicemails
Add a new Voicemail to an account.
Notes
label
label Name/Label of the Voicemail box.
access_id
access_id 1 to 6 digit access id to access a voicemail box.
access_pin
access_pin 1 to 6 digit access pin to access a voicemail box.
email_preference
email_preference Voicemail messages can be delivered to an email address. Delivery of the messages depends on the email preference. Email preference can be:
- OnDemand - Default option. Messages won't be delivered to an email unless it is asked.
- Notification - Only notification of the message will be sent to an email address.
- Message - Message audio file will be sent to an email address.
email
email Email address for the email delivery of voicemail messages.
delete_emailed_messages
delete_emailed_messages Delete emailed messages from voicemail box or not. It is advisable to keep this option true.
Sample Response
{
"voicemail": {
"id": "VM1212121211",
"label": "Test VM 1",
"access_id": "1111",
"access_pin": "1111",
"email_preference": "Notification",
"email": "[email protected]",
"delete_emailed_messages": true,
"active": true
}
}Response Properties
| Property | Type | Description |
|---|---|---|
| id | string | Voicemail ID |
| label | string | Name/Label for Voicemail |
| access_id | string | 1 to 6 digit access id |
| access_pin | string | 1 to 6 digit access pin |
| email_preference | string | One of the Email preference - Message, Notification or OnDemand |
| string | Email address for sending voicemail messages | |
| delete_emailed_messages | boolean | Delete emailed message or not |
| active | boolean | Voicemail box is active or not |