Update a voicemail box

Changes the fields you send, in one step: either all of them are saved or none is. Anyone who may open the box may change its everyday settings (on, transcription, PIN, greetings, away period, e-mail to people of your account, copies to boxes they may open). Renaming a shared box, e-mailing an address outside your account and choosing attachment_then_delete are for your account's admins and API keys.

email merges field by field; email.recipients, copy_to_ids and away are replaced whole. Send If-Match with the etag you read: a list sent without it can overwrite a colleague's change.

Answers the box with its new ETag. The phone's message light and e-mails follow on their own.

Example: turn "Email me" on and set an away period until January 4:

PATCH /voicemail_boxes/b3f1c2a9-7d4e-4a8b-9c6f-2e5d8a1b4c70
If-Match: "5be1d0c9a4f3e2b1c8d7e6f5a4b3c2d1"
Content-Type: application/json

{ "email": { "recipients": [{ "user_id": "51f0a3b2-c4d5-4e6f-8a9b-0c1d2e3f4a5b" }] },
  "away": { "greeting_id": "e19a3b5c-7d9f-4b1d-8f3a-5c7e9b1d3f72", "ends_at": "2027-01-04T08:00:00-05:00" } }

Notes:

  • A shared box's number can't be changed: it is the box's for good.
  • Every answer carries X-Request-Id and Cache-Control: private, no-store.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The box's id, from GET /voicemail_boxes (or GET /me's extensions[].voicemail.id).

Body Params

A JSON object.

The fields to change; anything left out stays as it is.

boolean

Whether it takes voicemail.

boolean

Whether new voicemails are transcribed.

string
length between 1 and 60

A shared box's name, 1 to 60 characters; admins and API keys only. An extension's box takes its extension's name, so it takes none here.

string
^[0-9]{4,10}$

The PIN that opens the box from a phone (*98): 4 to 10 digits, as a string. Write-only: never answered.

uuid | null

One of the box's greetings, for callers outside an away period; null for the standard greeting ("You have reached…").

An away period, replacing any there: its greeting plays from starts_at until ends_at. null ends it now (its greeting stays). To extend it, send it back with starts_at as you read it.

email
object

Merged field by field: send only what you change.

copy_to_ids
array of uuids
length ≤ 100

The whole list of other boxes of your account that get a copy of each new voicemail, replacing the one there. You may add only enabled boxes you may open (any, for your account's admins and API keys); anyone may remove one. A copy is never copied on again.

copy_to_ids
Headers
string

The etag you read (the ETag header). If it changed since, nothing is changed and the answer is 412 precondition_failed: read it again and resend your change. Leave it out to change whatever is there now.

uuid

Send Account-Id when your credentials reach more than one account (GET /me lists them in accounts). An API key acts in its own account, and a person in one organization in theirs: neither needs it. A person in several organizations must name it on every write (400 account_required); their reads without it use their home account. Credentials with no home account in GET /me need it on every request but GET /me. An account your credentials can't act in: 403 forbidden. Empty, not an account id, or sent twice: 400 parameter_invalid. Each names Account-Id in param.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json