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