relay
Register Relay Instance
Register a relay client and return a short-lived relay token.
The relay token is used to authenticate the client's WebSocket connection to the session relay channel.
post/api/v1/relay/register
Request
- Base URLhttps://docs.omnara.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Relay Register Request required
Request to register a new relay client for a user session.
user_session_id, string required
Identifier of the user session the relay client will operate within.
client_kind, 'cli' | 'web' | 'mobile' | 'voice' nullable
Type of client connecting to the relay.
Response
Successful Response
Relay Register Response required
Response containing relay connection credentials after registration.
user_session_id, string required
Identifier of the user session scoped to this relay token.
relay_token, string required
Short-lived relay token for websocket authentication.
relay_token_expires_in, integer required
Seconds until the relay token expires.
relay_ws_path, string required
WebSocket path for the relay endpoint.
relay_heartbeat_interval_sec, integer required
Heartbeat interval clients should respect.
Changes
No recorded changes to this operation across all 1 revision of this API.