Realtime
Safety & audio
Realtime
WebSocket real-time audio conversation
GET
Realtime
Introduction
OpenAI-compatible Realtime API over WebSocket for low-latency voice interaction—not a standard HTTP POST endpoint.Authentication
Pass your Bearer token when opening the WebSocket (per OpenAI Realtime conventions—header or initial auth message).Connection example
string
Realtime model, e.g.
gpt-4o-realtime-previewNotes
- 101 Switching Protocols indicates a successful upgrade
- Exchange audio/text using Realtime event messages after connect
- Suitable for voice assistants and live translation
