Set Greeting
Set the greeting of a voicemail box
GET or POST Request
HTTP Post Variables Supported
curl https://v1.api19.com/voicemail/greeting/get \
-d 'key=api_token' \
-d 'box_id=2233' \
-d 'type=generate' \
-d 'text=hey+thanks+for+calling+leave+a+message' \
-d 'voice=alloy'
OR
curl https://v1.api19.com/voicemail/greeting/get \
-d 'key=api_token' \
-d 'box_id=2233' \
-d 'type=upload' \
-d 'wav=[base64encoded wav file]' \
-d 'extension=wav'{"status":"ok"}
OR
{"status":"error","error":"invalid type"}Last updated