Skip to main content
GET
Read the result of a sajn Login session

Authorizations

Authorization
string
header
required

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Headers

Sajn-Version
enum<string>

API version for this request. Without it, the request uses the organization's default version; an organization without a default is pinned to the latest version by its first request.

Available options:
2026-09,
2026-10
Sajn-Workspace
string

ID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.

Path Parameters

id
string
required

The sajn Login session ID.

Response

200

id
string
required

The sajn Login session ID.

status
enum<string>
required
Available options:
PENDING,
COMPLETED,
FAILED,
EXPIRED
method
enum<string> | null
required

The eID the user authenticated with, such as SE_BANKID. Null until status is COMPLETED.

Available options:
SE_BANKID,
NO_BANKID_BIOMETRIC,
NO_BANKID_HIGH,
NO_QES,
DK_MITID,
DK_MITID_ERHVERV,
FI_FTN,
NL_IDIN,
ZEALID_QES,
null
completedAt
string<date-time> | null
required
state
string | null
required
sub
string | null
required
claims
object | null
required

The claims your client is approved for. A claim it isn't approved for is null.

loginUrl
string | null
required

Open this in a browser or an in-app browser to authenticate the user. Set only in the response to the create request; null otherwise.

expiresAt
string<date-time> | null
required

When the user must have authenticated by. Set only in the response to the create request; null otherwise.