page1
POST /1.1/voicemail
U
S
E
R
R
E
S
T
A
P
I
{
"name" : "John Doe",
"number" : "1234",
"context" : "default ",
"password" : "256842",
"email" : "john.doe@xivo.io",
"max_messages" : "25",
"attach_audio" : False,
"delete_messages" : False,
"ask_password" : True
}
{
"id" : 1,
"name" : "John Doe",
"number" : "1234",
"context" : "default",
"password" : "256842",
"email" : "john.doe@xivo.io"
"language" : null,
"timezone" : null,
"max_messages" : "25",
"attach_audio" : false,
"delete_messages" : false,
"ask_password" : true
}
Create voicemail
Example request
Example response
{
"voicemail_id" : 1
}
Associate a User to a Voicemail
Example request
POST /1.1/users/944/voicemail
{
"voicemail_id" : 1,
"user_id" : 944,
"enabled" : true
}
Example response