Update a greeting

Renames the greeting (name), or gives it new words (text, tts_voice_id, style, any of them; the rest stay as they are), or both, and answers it with its new ETag. Its id, digit and place as default or away greeting stay.

New words are spoken first, then saved with the version checked, so speech made from words someone has changed meanwhile never replaces theirs (412). A recorded greeting becomes spoken: send both text and tts_voice_id.

Notes:

  • If the voice can't speak just now, the answer is 503 try_again and nothing was changed.
  • 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).

uuid
required

The greeting's id, from GET /voicemail_boxes/{voicemail_box_id}/greetings.

Body Params

A JSON object.

A new name, new words, or both. Sending any of text, tts_voice_id or style speaks the greeting again; on a recorded greeting text and tts_voice_id are both needed, and it becomes spoken.

string
length between 1 and 60

1 to 60 characters, unique in the box, ignoring case.

string
length between 1 and 1000

What the voice says, 1 to 1,000 characters. <short pause> and <breath> add a pause or a breath.

string

A voice of GET /tts_voices.

string | null

How the voice speaks, up to 500 characters. Left out or empty: the first of GET /tts_voices' meta.style_presets for the voice's language.

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