Empty a voicemail box's Trash

Deletes for good every voicemail of the box that went to Trash before deleted_before, and answers 204. From that moment they are gone everywhere (404); their audio is cleaned up in the background. Each goes as a purge does, with its audio and transcript; copies in other boxes stay, and e-mails already sent are not recalled.

Send the time the person asked to empty the Trash, and send the same time on every retry: a retry then never touches a voicemail moved to Trash since.

Example:

DELETE /voicemail_boxes/b3f1c2a9-7d4e-4a8b-9c6f-2e5d8a1b4c70/trash?deleted_before=2026-11-24T15:30:00Z

Notes:

  • 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).

Query Params
date-time
required

A time with its time zone, such as 2026-11-24T15:30:00Z: voicemails that went to Trash before it are deleted for good. It can't be later than now.

Headers
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