---
title: "Get voicemail"
method: GET
path: "/phone_numbers/{phone_number_id}/voicemail"
tags: ["Voicemail"]
---

# Get voicemail

`GET /phone_numbers/{phone_number_id}/voicemail`

Returns the voicemail settings for a phone number

## Response `200`

Successful response

- object
  - `data` VoicemailPrefResponse
    - `enabled` boolean — Whether voicemail is enabled.
    - `pin` string — The pin used for the voicemail.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Resource not found

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/revisions/e32d46c5945b/schema)
