Was this helpful?
Retrieves a collection of greetings available to certain user.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
GET /api/users/{id}/greetings HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "items": [ { "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "enabled": true, "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.
POST /api/users/{id}/greetings HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 38 { "file_id": "NzAwNTUxOTA5NzczMTQ4MTYw" }
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw" }