Skip to content
Endless Documentation
Voices

Update voice

PATCH
/voices/{voice_id}

Updates a voice and returns the updated row. Scoped to the voice named by voice_id. Send a sparse body — only the fields that changed. Each field is authorized on its own, so resending an unchanged one also demands its permission.

Authorization

headerAuthorizationBearer <esk_live_…>

A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.

Scope: voices:write

Path Parameters

voice_id*string
Formatuuid

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json
  1. body
name?string
Length1 <= length <= 60
description?|null
visibility?string
Value in"private""workspace"

Response Body

OK

application/json
  1. response
id*string
quick_action_id*string
organization_id*string
media_model_id*string
model*
name*string
description*string|null
visibility*string
Value in"private""workspace""public"
created_by_id*string
capabilities*
source*string
Value in"clone""design"
prompt*string|null
sample_asset_ids*array<string>
cached*boolean
created_at*string
updated_at*string
Example Request
curl -X PATCH 'https://api.endless.app/voices/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "quick_action_id": "string",  "organization_id": "string",  "media_model_id": "string",  "model": {    "name": "string",    "owner": "string"  },  "name": "string",  "description": "string",  "visibility": "private",  "created_by_id": "string",  "capabilities": {    "can_edit": true,    "can_delete": true  },  "source": "clone",  "prompt": "string",  "sample_asset_ids": [    "string"  ],  "cached": true,  "created_at": "string",  "updated_at": "string"}