Sample - OpenAI API
GET/audio/voice_consents/{consent_id}

Retrieve a voice consent recording

Retrieves a specific voice consent recording. Use consent_id to identify the recording whose metadata and authorization details you want to inspect.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

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

1 status code
200Returns the voice consent object with its identifier, name, BCP 47 `language` tag, and Unix 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 the voice consent recording to retrieve.