Relays

📫 Relays

Create a Relay Session

post

Create a relay session with users.

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Body
webhook_urlstringOptional

URL to send the session data to

Example: https://my-webhook.com/dump
Responses
200

Success

application/json
post
/v1/relays/sessions

List all Relay Sessions

get

List all the active relay sessions.

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Responses
200

Success

application/json
get
/v1/relays/sessions

Delete a Relay Session

delete

Delete a relay session.

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Path parameters
session_idstringRequired
Responses
delete
/v1/relays/sessions/{session_id}

No content

Get a Relay Session

get

Retrieve the information for a relay session.

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Path parameters
session_idstringRequired
Responses
200

Success

application/json
get
/v1/relays/sessions/{session_id}

Authorize a user on a Relay Session

post

Authorize a user on a Relay Session

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Body
session_idstringRequired

Session Request ID (ex: 0724828881e2-S)

Example: 0724828881e2-S
user_ipstringRequired

User Ip to Authorize

Example: 1.1.1.1
Responses
200

Success

application/json
post
/v1/relays/sessions:authorize-user

Remove a user on a Relay Session

post

Authorize a user on a Relay Session

Authorizations
authorizationstringRequired

To access Edgegap API, generate (and view) your secret tokens in Dashboard - User Settings / Tokens. Add your secret token with each API request as an HTTP header (include the word token): Authorization: token xxxxxxxx-e458-4592-b607-c2c28afd8b62

Body
session_idstringRequired

Session Request ID (ex: 0724828881e2-S)

Example: 0724828881e2-S
authorization_tokenintegerRequired

Relay Authorization Token

Example: 3500589645
Responses
200

Success

application/json
post
/v1/relays/sessions:revoke-user

Last updated

Was this helpful?