Authentication (Sessions)
Get session
Gets current session (checks if user is logged in).
get/auth/sessions/current
Request
- Base URL/rest/2.0 (relative, and the document’s source URL is not known)
- Auth
- HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URL/rest/oauth/v2/tokenScopessys.admin
- or OAuth 2Client credentialsToken URL/rest/oauth/v2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
includestring[]
Specify additional objects to include in the session response. Supports 'csrfToken' and 'user'. Multiple inclusions may be specified using additional 'include' query parameters or by comma-separated list.
Response
The user is logged in.
Changes
No recorded changes to this operation across all 1 revision of this API.