Voicemail-Playbacks

Update a voicemail playback

Updates a voicemail playback by its id; only the fields sent are changed. A new WAV file replaces the current one. did_numbers, did_number_tags and send_to replace the current lists when sent.

put/voicemail_playbacks/{id}

Request

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

Path parameters

idinteger required

Voicemail playback identifier.

Request body multipart/form-data

voicemail_playback[name]string

Playback name (required on create).

voicemail_playback[playback]string binary

WAV file (required on create; replaces the current file on update).

voicemail_playback[send_to][]string[]

Email addresses recorded voicemails are sent to.

voicemail_playback[did_numbers][]string[]

DID numbers (E.164) the playback is assigned to.

voicemail_playback[did_number_tags][]integer[]

DID tag ids the playback is assigned to.

Response

Successful Response

Example response

{
  "voicemail_playback": {
    "default": true,
    "did_number_tags": [
      {
        "id": 5,
        "name": "demo"
      }
    ],
    "did_numbers": [
      "12125551234"
    ],
    "id": 3,
    "name": "demo",
    "send_to": [
      "test@example.com"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.