Retrieves the public view of the current session.

This endpoint is used to get public information of the current session.
It's used to validate and view session details such as the authenticated user's data.
The endpoint expects a session token either in "Authorization Bearer" or through a cookie,
the name of which is set in the session.cookie.name configuration, which defaults to "irssession".
A CSRF token must also be provided if the session was issued by setting a cookie.
To provide the CSRF token, pass it in the X-IRS-CSRF-Token header.

Query Params
include
array of strings

Comma-separated list of related entities to include in the response. Supported values: identifiers

include
Headers
string

Session token provided in Authorization Bearer

string
string

CSRF Token

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json