Start a web session

Sets a sessionVerificationToken, allowing the user to create a web session at another location that uses the EAI's /api/session/createSessionFromToken API.

Method

[POST|GET] /EAI/api/me/startWebSession

Content type:

application/json

Example cURL requests

curl -H "Authorization: Bearer access_token" -d "tokenId=1234-abcd" https://gateway.domain.com/EAI/api/me/startWebSession

Request parameters

Table 1. Request parameters
Parameter name Description
tokenId The identifier of the token to be set in a web session environment. The tokenId is the value of the user_session_id sent to a protected resource by WebSEAL. Otherwise, tokenId can be an arbitrary value.

Example response

{
"status":"success",
"entry" : "74018cff-724d-4c37-b0a5-1aff422afb4f",
"totalCount" : 1
}

Returns

200: OK for success.