Create an identity check
Creates an identity check and sends its link to the person over channel: EMAIL needs email and SMS needs phone.
With nationalId, BankID verifies that the person’s national identity number matches it. Without it, BankID verifies that their name matches fullName.
The response is the only one that includes verificationUrl and token. Each check counts toward your monthly identity check quota.
Authorizations
Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
Headers
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.
2026-09, 2026-10 Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
255Body
Body
Full name of the person to verify (required)
1How the recipient gets the verification link: EMAIL or SMS.
EMAIL, SMS Email address to send the link to. Required on the EMAIL channel.
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Phone number to send the link to. Required on the SMS channel.
1Optional reference/external ID for tracking
Optional contact ID to link this verification to
When the identity check and its link expire. Must be in the future. Default: 7 days after creation.
Language of the verification messages. Default: sv.
sv, en, no, da, fi, de, is, es, fr, it National identity number, such as a Swedish personnummer. When set, BankID verifies that it matches; otherwise BankID verifies the name.
Response
200
The identity check ID.
The organization ID.
Full name of the person to verify.
Email address the link goes to on the EMAIL channel.
Phone number the link goes to on the SMS channel.
How the recipient got the verification link.
EMAIL, SMS, IN_APP sajn ID Status:
- CREATED: Verification created but not sent
- SENT: Verification sent to recipient
- OPENED: Recipient opened verification link
- VERIFIED: Identity successfully verified
- FAILED: Verification failed
- EXPIRED: Verification link expired
- CANCELLED: Verification was cancelled
CREATED, SENT, OPENED, VERIFIED, FAILED, EXPIRED, CANCELLED Your own reference for the check.
ISO 639-1 language code, such as sv or en. GET /api/v1/helpers/languages lists them.
sv, en, no, da, fi, de, is, es, fr, it, null When the identity check and its link expire.
When the person was verified. Null until then.
When the identity check was created.
When the identity check was last updated.
The verification link. Set only in the response to the create request; null otherwise.
The contact the check is linked to.
A sajn user
What happened to the check, newest first. Null in lists and in the response to the create request.
Verification data, such as the BankID result. Null in lists and in the response to the create request.

