---
title: "Update IVR Prompt"
method: PUT
path: "/restapi/v1.0/account/{accountId}/ivr-prompts/{promptId}"
tags: ["IVR"]
---

# Update IVR Prompt

`PUT /restapi/v1.0/account/{accountId}/ivr-prompts/{promptId}`

Updates an IVR prompt by ID

## Path parameters

- `accountId` string, required
- `promptId` string, required

## Request body

- UpdateIVRPromptRequest
  - `filename` string — Name of a file to be uploaded as a prompt

## Response `200`

Updated Prompt Information

- PromptInfo
  - `uri` string, uri — Internal identifier of a prompt
  - `id` string — Link to a prompt metadata
  - `contentType` string — Type of prompt media content
  - `contentUri` string, uri — Link to a prompt media content
  - `filename` string — Name of a prompt

## Other responses

- `400` — General response with **HTTP 400 "Bad request"** status.<br> Reasons: unparsable request, path, query or body parameters are invalid. The error description may contain reference to particular parameter(s) which haven't passed the validation.
- `404` — General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible
- `500` — General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503` — General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/revisions/8d602198ec97/schema)
