Swagger Petstore - OpenAPI 3.0
GET/audio/voice_consents/{consent_id}

Retrieve a voice consent recording

Retrieves metadata for a voice consent recording used to authorize creation of custom voices. Returns the consent recording's identifier, label, language tag, and creation timestamp. Use this to verify consent recording details before creating a custom voice.

1 parameter
consent_idstringrequired
The unique identifier of the voice consent recording to retrieve.

1 status code
200Returns the voice consent object with its identifier, name, language tag, and creation timestamp.
objectstringrequired
The object type, which is always `audio.voice_consent`.
Allowed:audio.voice_consent
idstringrequired
The consent recording identifier.
namestringrequired
The label provided when the consent recording was uploaded.
languagestringrequired
The BCP 47 language tag for the consent phrase (for example, `en-US`).
created_atintegerrequired
The Unix timestamp (in seconds) for when the consent recording was created.

Error handling

consent_id must identify an existing voice consent recording that belongs to the authenticated user.