Retrieves a collection of greetings of shared voicemail.
The unique ID of shared voicemail.
OK
const response = await fetch('http://127.0.0.1:8888/api/shared_voicemails/{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 voicemail greeting for shared voicemail.
The unique ID of the file.
The unique ID of greeting.
const response = await fetch('http://127.0.0.1:8888/api/shared_voicemails/{id}/greetings', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": {} }