API Reference
Overview
How It Works
Audio Output Format
Property
Value
Connection Flow
WebSocket Handshake
Authorizations
AuthorizationstringRequired
Raw API key (no Bearer prefix).
Query parameters
config_idstringRequired
Configuration ID for the TTS voice, created via API or in the Oris Voice tab of the dashboard.
Header parameters
AuthorizationstringRequiredExample:
Your raw API key. No Bearer prefix.
your-api-keyResponses
101
WebSocket upgrade successful. After the upgrade, the server sends a SessionReady JSON message and waits for text input.
application/json
401
Unauthorized — invalid or missing API key.
application/json
get
/Message Format
Messages Reference
Server -> Client Messages
Client -> Server Messages
Message Details
InteractionInput (Client -> Server, Binary)
Property
Value
InteractionResponse (Server -> Client, Binary)
Type
Format
Description
EndInteraction vs CancelInteraction
Message
Purpose
Server behavior
Use case
ErrorResponse (Server -> Client, JSON)
Code
Description
Rate Limits & Constraints
Constraint
Value
Best Practices
Text Input
Streaming Playback
Error Handling
Complete Example
Troubleshooting
Connection Issues
No Audio Received
Audio Quality Issues
Unexpected Silence or Truncation
Last updated
Was this helpful?