Greetings

List current user voicemail greetings

get

Retrieves a collection of greetings for current user.

Authorizations
Responses
curl -L \
  --url 'https://HOSTNAME:8887/api/user/greetings' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "items": [
    {
      "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
      "enabled": true,
      "file_name": "text",
      "file_size": 0,
      "file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK"
    }
  ]
}

Create voicemail greeting for current user

post

Create voicemail greeting for current user.

Authorizations
Body
file_idall ofoptional

The unique ID of the file.

The unique ID of the resource.

Responses
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"
}

Was this helpful?