Relays

Create a Relay Session

Create a relay session with users.

post/v1/relays/sessions

Request

  • Base URL: https://api.edgegap.com/v2
  • URL: https://api.edgegap.com/v2/v1/relays/sessions
  • Auth: API key in header Authorization

Headers

Acceptstring
Content-Typestring

Request body

webhook_urlstring

URL to send the session data to

Response

Success

session_idstring required

The session ID

authorization_tokeninteger

The authorization token for the session

statusstring required

The status of the session

readyboolean required

If the session is ready to be used

linkedboolean required

If the session is linked to a relay

errorstring

The error message if the session failed

webhook_urlstring

The webhook URL that we will call once the session is ready

Changes

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