Update a mailbox

Updates a shared or extension mailbox. Only the fields you send change.

voicemail_options and voicemail_destinations replace the whole list, so an empty array clears it. voicemail_greetings changes only the greetings you list.

A request that fails validation changes nothing. domain_uuid, voicemail_id and voicemail_uuid cannot be changed and are ignored.

A key with the Admin role can update any mailbox on your account. Any other key must own the linked extension.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The mailbox's UUID (voicemail_uuid).

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

A new PIN, 4 to 10 digits. Any other value returns 400 with code pin_invalid.

integer | null
≥ 0

The default greeting, by its number on this mailbox. 0 or null selects the standard greeting. An away greeting set in the web app plays instead during its away period.

number | null

The number of the alternate greeting. Must be numeric.

string | null

Email addresses that receive new messages, separated by commas, semicolons or spaces. Duplicates and blanks are dropped, and an empty value clears the list.

Every address you add must be valid. A mailbox can have up to 3 addresses, not counting its owner's address or, on a shared mailbox, the addresses of people on your account. A mailbox already over the limit can only remove addresses.

string | null
enum

How the audio is delivered by email: attach adds it as an attachment, and empty or null sends a link that requires sign-in. Any other value returns 400 with code voicemail_file_not_offered.

Allowed:
boolean

Whether messages stay in the mailbox after they are emailed.

boolean

Whether the mailbox accepts messages.

string | null

A description of the mailbox.

string | null

The phone number to notify by SMS.

boolean

Whether messages are transcribed.

boolean

Whether the first-login tutorial runs.

boolean

Whether callers hear recording instructions.

boolean

Whether callers hear options after recording.

voicemail_options
array of objects

The mailbox's keypad options. Replaces the whole list. An empty array clears it.

voicemail_options
voicemail_destinations
array of objects

Other mailboxes to copy messages to. Replaces the whole list. An empty array clears it. Each must be a different mailbox on your account. A key without the Admin role can add only the mailboxes of extensions it owns.

voicemail_destinations
voicemail_greetings
array of objects

Changes to existing greetings: rename them, replace their audio or delete them. Greetings you leave out stay as they are. If one entry is rejected, the whole request is rejected.

greeting_id is applied first, so one request can choose a new default and delete the old one. To add a greeting, use the web app or the phone menu.

voicemail_greetings
Responses

401

Missing or invalid API key.

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