Set Greeting

Set the greeting of a voicemail box

GET or POST Request

https://v1.api19.com/voicemail/greeting/set

Upload a file or make AI make you a greeting

HTTP Post Variables Supported

Argument

Required

Type

box_id

yes

2-12 digits

type

yes

upload OR generate

key

yes

your api key

For Upload

Required

For type=upload

wav

yes

base64 encoded wav file

extension

yes

wav or mp3

For Generate

Required

For type=generate

text

yes

the text to say

voice

yes

the voice you want to say it choices: alloy, echo, fable, onyx, nova, shimmer

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'

Last updated