Skip to main content
POST
/
Agent
/
Account
/
GetSessionToken
Get Session Token
curl --request POST \
  --url https://{host}/Agent/Account/GetSessionToken \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "AccountCreated": {
    "created": "2023-11-07T05:31:56Z",
    "enabled": true,
    "canRelay": true,
    "jwt": "<string>",
    "expires": "2023-11-07T05:31:56Z",
    "updated": "2023-11-07T05:31:56Z"
  },
  "seconds": 123
}

Overview

Allows the client to get session information about a newly created account, created using a web form, without having to provide user credentials again.

Authentication

No authentication required.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Body

application/json

The body is of type object.

Response

200 - application/json

Success

AccountCreated
object
required
seconds
integer
required
Required range: x <= 3600