Retrieves a collection of greetings available to certain user.
The unique ID of the resource.
"NzAwNTUxOTA5NzczMTQ4MTYw"
OK
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/greetings', { method: 'GET', headers: {}, }); const data = await response.json();
{ "items": [ { "id": {}, "enabled": false, "file_name": "text", "file_size": 0, "file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK" } ] }
Create a voicemail greeting for user.
The unique ID of user.
The unique ID of the file.
The unique ID of greeting.
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/greetings', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": {} }