Skip to content

Session ​

Beta

Salaxy API v04 is in beta: it may change, and it is not used in production yet. Build on v03, the current version.

Login, logoff and information about the current session.

Salaxy API v04 (beta), Finland only. 2 operations. Interactive version: REST API reference. Machine-readable: OpenAPI document.

The reference wins

These pages are generated from the OpenAPI document. If a guide and this reference disagree about a field, follow the reference. Error responses are not in the document — see Errors.

GET /v04/api/session/isAuthorized ​

Checks whether the current browser session is authorized: This means that there is both UserCredential and valid CurrentAccount

Response: boolean

Try it: interactive reference

GET /v04/api/session/current ​

Gets the current session information - even if the user is not yet authorized. Check for IsAuthorized or HasCredential to see if the user can perform operations.

Response: UserSession

Try it: interactive reference

Every page is also available as Markdown: add .md to its URL — a folder page such as white-label/ is white-label/index.md. Index for LLMs: llms.txt. Questions: Support.