---
title: "Ai Voice Update Route"
method: PUT
path: "/ai_voices/{id}"
tags: ["ai_voices"]
---

# Ai Voice Update Route

`PUT /ai_voices/{id}`

## Request

- Base URL: `https://api.robopost.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robopost.app/ai_voices/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- AIVoiceUpdate
  - `name` string
  - `uploadcare_objects` object[]
  - `sample_file_url` string

## Response `200`

Successful Response

- AIVoiceRead
  - `_id` string
  - `team_id` string
  - `user_id` string
  - `name` string, required
  - `sample_file_url` string
  - `eleven_id` string
  - `uploadcare_objects` object[]
  - `is_deleted` boolean
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/robopost/apis/robopost-api.md) · [All operations](https://skmtc.dev/robopost/apis/robopost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robopost/apis/robopost-api/revisions/46b1cafa8808?raw)
