---
title: "List shared voicemail greetings"
method: GET
path: "/shared_voicemails/{id}/greetings"
tags: ["Shared Voicemail"]
---

# List shared voicemail greetings

`GET /shared_voicemails/{id}/greetings`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/shared_voicemails/{id}/greetings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/shared_voicemails/:id/greetings/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a collection of greetings of shared voicemail.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `200`

OK

- object
  - `items` object[]
    - `id` string: The unique ID of the resource.
    - `enabled` boolean: Whether the greeting is enabled or not.
    - `file_name` string: The name of the file.
    - `file_size` integer: The file size in bytes.
    - `file_url` string: The relative path to file url for file downloading.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
