VoiceAPI
Request Reconnection
Changed onExchange a session token for a fresh WebSocket URL and token so a client can rejoin a voice session after the connection drops. Session options are carried over from the original session.
get/v3/voice/realtime
Request
- Base URLhttps://api.deepl.com
- URLhttps://api.deepl.com/v3/voice/realtime
- AuthAPI key in header Authorization
Query parameters
tokenstring required
The latest ephemeral token obtained for the stream.
Response
Successfully obtained streaming URL and reconnection token.
Example response
{
"streaming_url": "wss://api.deepl.com/v3/voice/realtime/connect",
"token": "VGhpcyBpcyBhIGZha2UgdG9rZW4K",
"session_id": "4f911080-cfe2-41d4-8269-0e6ec15a0354"
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info