v1

latestOpenAPI 3.1.0MIT2026-07-132429592.7 MB
Audio

Updates a voice consent recording (metadata only).

Update consent recording metadata used for creating custom voices. This endpoint updates metadata only and does not replace the underlying audio.

See the custom voices guide. Custom voices are limited to eligible customers.

post/audio/voice_consents/{consent_id}

Path parameters

consent_idstring required

The ID of the consent recording to update.

Request body

namestring required

The updated label for this consent recording.

Response

OK

object'audio.voice_consent' required

The object type, which is always audio.voice_consent.

idstring required

The consent recording identifier.

namestring required

The label provided when the consent recording was uploaded.

languagestring required

The BCP 47 language tag for the consent phrase (for example, en-US).

created_atinteger required

The Unix timestamp (in seconds) for when the consent recording was created.

Example response

{
  "id": "cons_1234"
}