---
title: "Make a voicemail playback the account default"
method: PUT
path: "/voicemail_playbacks/{id}/set_default"
tags: ["Voicemail-Playbacks"]
---

# Make a voicemail playback the account default

`PUT /voicemail_playbacks/{id}/set_default`

## Request

- Base URL: `https://api.commpeak.com/portal`
- URL: `https://api.commpeak.com/portal/voicemail_playbacks/{id}/set_default`
- Auth: API key in header `Authorization`

Sets the voicemail playback with the given `id` as the default, used for DID numbers that have no playback assigned directly or through a tag.

## Path parameters

- `id` integer, required: Voicemail playback identifier.

## Response `200`

Successful Response

- VoicemailPlaybackResponse: Envelope returned by the single-playback methods.
  - `voicemail_playback` VoicemailPlaybackItem, required: A greeting played to callers before a voicemail is recorded on a DID number.
    - `id` integer, required: Playback identifier.
    - `name` string, nullable: Name.
    - `default` boolean, nullable: Whether this is the account default playback.
    - `send_to` string[], nullable: Email addresses recorded voicemails are sent to.
    - `did_numbers` string[], nullable: DID numbers the playback is assigned to.
    - `did_number_tags` DIDNumberTag[], nullable: DID tags the playback is assigned to.
      - `id` integer, required: DID tag identifier.
      - `name` string, nullable: DID tag name.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/commpeak/apis/commpeak-portal-api.md) - [All operations](https://skmtc.dev/commpeak/apis/commpeak-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/commpeak/apis/commpeak-portal-api/revisions/df57b0c16367?raw)
