Audio · OpenAI

Voice Consents

Manage voice consent recordings required for custom voice creation.

Note
Voice consent recordings are required before creating custom voices via the OpenAI API. Each consent recording must include a spoken consent phrase in the specified language.

Create Consent

POST/v1/audio/voice_consents
Upload a voice consent recording.

Multipart Form Parameters

recordingfileformrequired

Audio file of the consent phrase

languagestringformrequired

BCP 47 language tag (e.g. en-US)

namestringformrequired

Label for this consent recording

200

Retrieve Consent

GET/v1/audio/voice_consents/:consent_id
Retrieve a voice consent recording by ID.

Path Parameters

consent_idstringpathrequired

The consent recording identifier

200

Update Consent

POST/v1/audio/voice_consents/:consent_id
Update a voice consent recording's metadata (name only).

Path Parameters

consent_idstringpathrequired

The consent recording identifier

Body Parameters

namestringbodyrequired

Updated label for this consent recording

200

Delete Consent

DELETE/v1/audio/voice_consents/:consent_id
Delete a voice consent recording.

Path Parameters

consent_idstringpathrequired

The consent recording identifier

200

List Consents

GET/v1/audio/voice_consents
Returns a paginated list of voice consent recordings.

Query Parameters

afterstringquery

Cursor for pagination — object ID to start after

limitnumberquery

Max objects to return (1–100, default 20)

200