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.HTTP request
POST /Agent/Account/GetSessionToken
Authentication
No authentication required.Request (JSON)
Response (JSON)
Response parameters
| Parameter | Description |
|---|---|
| PSeconds | Requested number of seconds before the JWT token that will be issued expires. |
| PCreated | When account was created (server timestamp). |
| PEnabled | If account is enabled or not. When creating an account, it’s disabled by default, until the e-mail address has been validated. |
| PCanRelay | If account can be used to relay e-mails. |
| PJwt | A token representing the login to the account. This token is seant as a Bearer token in requests requiring authentication. |
| PExpires | When the JWT token expires. The token needs to be renewed before this token expires, if the client wishes to maintain the connection. After the token expires, the client needs to login again. |