Was this helpful?
Retrieves a collection of greetings for current user.
/user/greetings
curl -L \ --url 'https://HOSTNAME:8887/api/user/greetings' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "items": [ { "enabled": true, "file_name": "text", "file_size": 0, "file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK", "id": "NzAwNTUxOTA5NzczMTQ4MTYw" } ] }
Create voicemail greeting for current user.
The unique ID of the file.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/user/greetings' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"file_id":"NzAwNTUxOTA5NzczMTQ4MTYw"}'
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw" }