relay

Refresh Relay Token

Refresh an expiring relay token and return a new one.

Validates the existing token, verifies ownership, and issues a replacement token with the same session and client kind.

post/api/v1/relay/refresh

Request

  • Base URL: https://docs.omnara.com (the document declares no server; this is the origin it was published from)
  • URL: https://docs.omnara.com/api/v1/relay/refresh
  • Auth: HTTP bearer

Request body

relay_tokenstring required

Existing relay token to refresh.

Response

Successful Response

relay_tokenstring required

New relay token for websocket authentication.

relay_token_expires_ininteger required

Seconds until the new relay token expires.

Changes

No recorded changes to this operation across all 1 revision of this API.