How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenAI Audio API

Learn how to turn audio into text or text into audio.

OpenAI Audio API is one of 62 APIs that OpenAI publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Audio. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 9 operations across 6 paths, and defines 45 schemas. It is described by OpenAPI 3.2.0, at version 2.3.0.

Requests are made against a single base URL, https://api.openai.com/v1.

9 operations 6 paths 45 schemas 1 DELETE2 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.3.0
Base URL
https://api.openai.com
Authentication
HTTP Bearer, HTTP Bearer
License
MIT
Terms of Service
Resource Areas
1

Authentication & Security 2

OpenAI Audio API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (ApiKeyAuth). It accepts HTTP bearer tokens (AdminApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 9

Across 6 paths, the API surfaces 9 operations — 1 DELETE, 2 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Audio 9

Turn audio into text or text into audio.

POST
/audio/speech
Create speech
createSpeech body → 200429503
POST
/audio/transcriptions
Create transcription
createTranscription body → 200429503
POST
/audio/translations
Create translation
createTranslation body → 200429503
POST
/audio/voice_consents
Create voice consent
createVoiceConsent body → 200
GET
/audio/voice_consents
List voice consents
listVoiceConsents 2 params → 200
GET
/audio/voice_consents/{consent_id}
Retrieve voice consent
getVoiceConsent 1 param → 200
POST
/audio/voice_consents/{consent_id}
Update voice consent
updateVoiceConsent 1 param body → 200
DELETE
/audio/voice_consents/{consent_id}
Delete voice consent
deleteVoiceConsent 1 param → 200
POST
/audio/voices
Create voice
createVoice body → 200

Schemas 45

The contract defines 45 schemas that model the data the API accepts and returns. The most detailed are CreateTranscriptionRequest (14 properties), TranscriptionSegment (10 properties), CreateSpeechRequest_2 (7 properties), CreateSpeechRequest (7 properties). Each schema is shown below with its type and property counts.

TranscriptionSegment
object
10 properties 10 required
TranscriptTextDoneEvent
object
Emitted when the transcription is complete. Contains the complete transcription text. Only emitted when you [create a transcription](https://developers.openai.…
5 properties 2 required
VoiceConsentResource
object
A consent recording used to authorize creation of a custom voice.
5 properties 5 required
_MisalignmentSteer
object
1 property 1 required
CreateTranscriptionResponseVerboseJson
object
Represents a verbose json transcription response returned by model, based on the provided input.
6 properties 3 required
Error
object
5 properties 4 required
TranscriptionWord
object
3 properties 3 required
TranscriptTextDeltaEvent
object
Emitted when there is an additional text delta. This is also the first event emitted when the transcription starts. Only emitted when you [create a transcripti…
4 properties 2 required
TranscriptTextUsageDuration
object
Usage statistics for models billed by audio input duration.
2 properties 2 required
VoiceResource
object
A custom voice that can be used for audio output.
4 properties 4 required
TranscriptionDiarizedSegment
object
A segment of diarized transcript text with speaker metadata.
6 properties 6 required
VoiceIdsShared
CreateVoiceRequest
object
3 properties 3 required
_MisalignmentErrorType
TranscriptTextSegmentEvent
object
Emitted when a diarized transcription returns a completed segment with speaker information. Only emitted when you [create a transcription](https://developers.o…
6 properties 6 required
VoiceConsentDeletedResource
object
3 properties 3 required
CreateTranslationRequest
object
5 properties 2 required
CreateTranslationResponseJson
object
1 property 1 required
CreateSpeechRequest
object
7 properties 3 required
VadConfig
object
4 properties 1 required
SpeechAudioDoneEvent
object
Emitted when the speech synthesis is complete and all audio has been streamed.
2 properties 2 required
ErrorResponse
object
1 property 1 required
AudioResponseFormat
string
The format of the output, in one of these options: json, text, srt, verbosejson, vtt, or diarizedjson. For gpt-4o-transcribe and gpt-4o-mini-transcribe, the on…
CreateSpeechResponseStreamEvent
MisalignmentErrorDetailsResource
object
3 properties
VoiceConsentListResource
object
5 properties 3 required
SpeechAudioDeltaEvent
object
Emitted for each chunk of audio data generated during speech synthesis.
2 properties 2 required
TranscriptionInclude
string
CreateTranslationResponseVerboseJson
object
4 properties 3 required
VoiceIdsOrCustomVoice
A built-in voice name or a custom voice reference.
CreateTranscriptionRequest
object
14 properties 2 required
TranscriptTextUsageTokens
object
Usage statistics for models billed by token usage.
5 properties 4 required
CreateTranscriptionResponseDiarizedJson
object
Represents a diarized transcription response returned by the model, including the combined transcript and speaker-segment annotations.
5 properties 4 required
UpdateVoiceConsentRequest
object
1 property 1 required
TranscriptionLanguage
object
A language detected in transcribed audio.
1 property 1 required
CreateTranscriptionResponseStreamEvent
CreateVoiceConsentRequest
object
3 properties 3 required
CreateTranscriptionResponseJson
object
Represents a transcription response returned by model, based on the provided input.
4 properties 1 required
CreateVoiceFromConsentRequest
object
Creates a voice from a consent recording and an audio sample. Requires multipart/form-data.
4 properties 3 required
CreateTranscriptionResponseVerboseJson_2
object
Represents a verbose json transcription response returned by model, based on the provided input.
6 properties 3 required
VoiceResource_2
object
A custom voice that can be used for audio output.
5 properties 5 required
CreateVoiceRequest_2
CreateSpeechRequest_2
object
7 properties 3 required
MisalignmentErrorDetailsResource_2
object
4 properties
TranscriptionInclude_2
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openai-audio-api-openapi.yml Raw ↑

Other APIs OpenAI publishes across the network.

OpenAI Responses API
OpenAI Moderations API
OpenAI Batch API
OpenAI Vector Stores API
OpenAI Uploads API
OpenAI Realtime API
OpenAI Evals API
OpenAI Videos API
OpenAI Conversations API
OpenAI Containers API
OpenAI ChatKit API
OpenAI Skills API
Where this information came from

This is an independent, third-party profile of OpenAI Audio API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.