mailbox-flag-upRelais

📫 Relais

Create a Relay Session

post

Create a relay session with users.

Autorisations
authorizationstringRequis

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

Corps
webhook_urlstringOptionnel

URL to send the session data to

Example: https://my-webhook.com/dump
Réponses
chevron-right
200

Success

application/json
session_idstringRequis

The session ID

Example: 7349356945f1-S
authorization_tokenintegerOptionnel

The authorization token for the session

Example: 3500589645
statusstringRequis

The status of the session

Example: READY
readybooleanRequis

If the session is ready to be used

linkedbooleanRequis

If the session is linked to a relay

errorstringOptionnel

The error message if the session failed

Example: Session failed
webhook_urlstringOptionnel

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

Example: https://my-webhook.com/dump
post
/v1/relays/sessions

List all Relay Sessions

get

List all the active relay sessions.

Autorisations
authorizationstringRequis

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

Réponses
chevron-right
200

Success

application/json
get
/v1/relays/sessions

Delete a Relay Session

delete

Delete a relay session.

Autorisations
authorizationstringRequis

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

Paramètres de chemin
session_idstringRequis
Réponses
delete
/v1/relays/sessions/{session_id}

Aucun contenu

Get a Relay Session

get

Retrieve the information for a relay session.

Autorisations
authorizationstringRequis

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

Paramètres de chemin
session_idstringRequis
Réponses
chevron-right
200

Success

application/json
session_idstringRequis

The session ID

Example: 7349356945f1-S
authorization_tokenintegerOptionnel

The authorization token for the session

Example: 3500589645
statusstringRequis

The status of the session

Example: READY
readybooleanRequis

If the session is ready to be used

linkedbooleanRequis

If the session is linked to a relay

errorstringOptionnel

The error message if the session failed

Example: Session failed
webhook_urlstringOptionnel

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

Example: https://my-webhook.com/dump
get
/v1/relays/sessions/{session_id}

Authorize a user on a Relay Session

post

Authorize a user on a Relay Session

Autorisations
authorizationstringRequis

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

Corps
session_idstringRequis

Session Request ID (ex: 0724828881e2-S)

Example: 0724828881e2-S
user_ipstringRequis

User Ip to Authorize

Example: 1.1.1.1
Réponses
chevron-right
200

Success

application/json
session_idstringRequis

The session ID

Example: 7349356945f1-S
authorization_tokenintegerOptionnel

The authorization token for the session

Example: 3500589645
statusstringRequis

The status of the session

Example: READY
readybooleanRequis

If the session is ready to be used

linkedbooleanRequis

If the session is linked to a relay

errorstringOptionnel

The error message if the session failed

Example: Session failed
webhook_urlstringOptionnel

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

Example: https://my-webhook.com/dump
post
/v1/relays/sessions:authorize-user

Remove a user on a Relay Session

post

Authorize a user on a Relay Session

Autorisations
authorizationstringRequis

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

Corps
session_idstringRequis

Session Request ID (ex: 0724828881e2-S)

Example: 0724828881e2-S
authorization_tokenintegerRequis

Relay Authorization Token

Example: 3500589645
Réponses
chevron-right
200

Success

application/json
session_idstringRequis

The session ID

Example: 7349356945f1-S
authorization_tokenintegerOptionnel

The authorization token for the session

Example: 3500589645
statusstringRequis

The status of the session

Example: READY
readybooleanRequis

If the session is ready to be used

linkedbooleanRequis

If the session is linked to a relay

errorstringOptionnel

The error message if the session failed

Example: Session failed
webhook_urlstringOptionnel

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

Example: https://my-webhook.com/dump
post
/v1/relays/sessions:revoke-user

Mis à jour

Ce contenu vous a-t-il été utile ?