Download OpenAPI specification:Download
eID services for Swedish BankID, Freja eID, Norwegian BankID, Vipps MobilePay, Danish MitID, and Finnish Trust Network (FTN).
All endpoints require HTTP Basic authentication with API customer credentials.
Start operations return 201 with an id. Poll the corresponding GET /{id}
endpoint until status is COMPLETED or FAILED. The collect endpoint is
rate-limited to 1 request/second; exceeding it returns 429.
| ssn | string or null non-empty Swedish personal identification number. Restricts the session to this user. |
| ipAddress | string End-user IP address (or the closest proxy address). |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| pinRequired | boolean Default: false Force PIN entry even when biometrics are enabled. |
| intent | string [ 1 .. 2000 ] characters Text describing the purpose of the identification shown to the user. |
| orgNumber | string Swedish organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "ipAddress": "string",
- "pinRequired": false,
- "intent": "string",
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| ssn required | string non-empty Swedish personal identification number of the user to authenticate. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| pinRequired | boolean Default: false Force PIN entry even when biometrics are enabled. |
| intent | string [ 1 .. 2000 ] characters Text describing the purpose of the identification shown to the user. |
| orgNumber | string Swedish organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
| callInitiator required | string (CallInitiator) Enum: "USER" "RP" Whether the user or the relying party (RP) initiated the phone call. |
{- "ssn": "string",
- "pinRequired": false,
- "intent": "string",
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string",
- "callInitiator": "USER"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| id required | string non-empty |
{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| qrCode required | string non-empty Complete content of the scanned BankID QR code. |
{- "qrCode": "string"
}{- "ssn": "string",
- "name": "string",
- "givenName": "string",
- "surname": "string",
- "age": 0,
- "verifiedAt": "2019-08-24"
}| ssn | string non-empty Restrict the signing session to this Swedish personal number. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| text required | string <= 50000 characters Visible text the user must approve in BankID. |
| digest | string [ 1 .. 2000 ] characters Hash digest of an associated file. |
| ipAddress | string End-user IP address (or the closest proxy address). |
| pinRequired | boolean Default: false Force PIN entry even when biometrics are enabled. |
| orgNumber | string Swedish organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "text": "string",
- "digest": "string",
- "ipAddress": "string",
- "pinRequired": false,
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| ssn required | string non-empty Swedish personal identification number of the user to sign. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| text required | string <= 50000 characters Visible text the user must approve in BankID. |
| digest | string [ 1 .. 2000 ] characters Hash digest of an associated file. |
| pinRequired | boolean Default: false Force PIN entry even when biometrics are enabled. |
| orgNumber | string Swedish organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
| callInitiator required | string (CallInitiator) Enum: "USER" "RP" Whether the user or the relying party (RP) initiated the phone call. |
{- "ssn": "string",
- "text": "string",
- "digest": "string",
- "pinRequired": false,
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string",
- "callInitiator": "USER"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| id required | string non-empty |
{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrStartToken": "string",
- "qrStartSecret": "string",
- "hintCode": "string"
}| minAge | integer >= 1 Minimum age (inclusive). |
| maxAge | integer >= 1 Maximum age (inclusive). |
| refId | string Reference ID returned verbatim in the result and callback. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| redirectUrl | string <uri> URL to redirect the user to after completing age verification. |
{- "minAge": 1,
- "maxAge": 1,
- "refId": "string",
}{- "id": "string",
- "status": "PENDING",
- "minAge": 0,
- "maxAge": 0
}| ssn required | string non-empty Personal number of the user to authenticate. |
| country required | string Enum: "SWEDEN" "NORWAY" "DENMARK" "FINLAND" Country of the user's Freja identity document. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| minRegistrationLevel | string Default: "EXTENDED" Enum: "EXTENDED" "PLUS" Minimum required Freja registration level. |
| orgNumber | string Organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "country": "SWEDEN",
- "minRegistrationLevel": "EXTENDED",
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrData": "string"
}| ssn required | string non-empty Personal number of the user to sign. |
| country required | string Enum: "SWEDEN" "NORWAY" "DENMARK" "FINLAND" Country of the user's Freja identity document. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| text required | string non-empty Text to sign, displayed to the user in the Freja app. |
| minRegistrationLevel | string Default: "EXTENDED" Enum: "EXTENDED" "PLUS" Minimum required Freja registration level. |
| orgNumber | string Organisation number — enables company signatory check. |
| requestAddress | boolean Fetch the user's registered address on completion. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "country": "SWEDEN",
- "text": "string",
- "minRegistrationLevel": "EXTENDED",
- "orgNumber": "string",
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "autoStartToken": "string",
- "qrData": "string"
}| minAge | integer >= 1 Minimum age (inclusive). |
| maxAge | integer >= 1 Maximum age (inclusive). |
| refId | string Reference ID returned verbatim in the result and callback. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| redirectUrl | string <uri> URL to redirect the user to after completing age verification. |
{- "minAge": 1,
- "maxAge": 1,
- "refId": "string",
}{- "id": "string",
- "status": "PENDING",
- "minAge": 0,
- "maxAge": 0
}| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| requestSsn | boolean Request the user's Norwegian personal number (fødselsnummer). |
| requestPhone | boolean Request the user's phone number. |
| requestEmail | boolean Request the user's email address. |
| requestAddress | boolean Request the user's registered address. |
| refId | string Reference ID returned verbatim in the result and callback. |
| appCallbackUri | string <uri> (BETA) Deep-link URI to return the user to your app after authentication. |
{- "requestSsn": true,
- "requestPhone": true,
- "requestEmail": true,
- "requestAddress": true,
- "refId": "string",
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}| ssn required | string non-empty Norwegian personal number (fødselsnummer). |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}Provide either text (plain text signing) or documents (PDF signing), not both.
documents requires the document upload feature to be enabled.
| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| text | string <= 118 characters Text to sign. Mutually exclusive with |
| refId | string Reference ID returned verbatim in the result and callback. |
| documents | Array of strings[ items non-empty ] Document IDs to sign (from |
{- "text": "string",
- "refId": "string",
- "documents": [
- "string"
]
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}| minAge | integer >= 1 Minimum age (inclusive). |
| maxAge | integer >= 1 Maximum age (inclusive). |
| refId | string Reference ID returned verbatim in the result and callback. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| redirectUrl | string <uri> URL to redirect the user to after completing age verification. |
{- "minAge": 1,
- "maxAge": 1,
- "refId": "string",
}{- "id": "string",
- "status": "PENDING",
- "minAge": 0,
- "maxAge": 0
}| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| requestSsn | boolean Request the user's Norwegian personal number. |
| requestPhone | boolean Request the user's phone number. |
| requestEmail | boolean Request the user's email address. |
| requestAddress | boolean Request the user's registered address. |
| refId | string Reference ID returned verbatim in the result and callback. |
| appCallbackUri | string <uri> (BETA) Deep-link URI to return the user to your app after authentication. |
{- "requestSsn": true,
- "requestPhone": true,
- "requestEmail": true,
- "requestAddress": true,
- "refId": "string",
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
}| phone required | string Phone number of the user to authenticate. |
| requestSsn | boolean Request the user's Norwegian personal number. |
| requestEmail | boolean Request the user's email address. |
| requestAddress | boolean Request the user's registered address. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "phone": "string",
- "requestSsn": true,
- "requestEmail": true,
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
}| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| referenceText | string <= 130 characters ^[^%<]*$ Text shown to the user during authentication. Must not contain |
| requestPhone | boolean Request the user's phone number. |
| requestEmail | boolean Request the user's email address. |
| requestAddress | boolean Request the user's registered address. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "referenceText": "string",
- "requestPhone": true,
- "requestEmail": true,
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}| ssn required | string non-empty Danish CPR number. |
| bindingMessage required | string non-empty Message displayed in the MitID app to bind the session. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "ssn": "string",
- "bindingMessage": "string",
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| text required | string [ 1 .. 600 ] characters Text to sign, displayed in MitID. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "text": "string",
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
- "bindingMessage": "string"
}| minAge | integer >= 1 Minimum age (inclusive). |
| maxAge | integer >= 1 Maximum age (inclusive). |
| refId | string Reference ID returned verbatim in the result and callback. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| redirectUrl | string <uri> URL to redirect the user to after completing age verification. |
{- "minAge": 1,
- "maxAge": 1,
- "refId": "string",
}{- "id": "string",
- "status": "PENDING",
- "minAge": 0,
- "maxAge": 0
}| redirectUrl | string <uri> URL to redirect the user to after completing the flow. |
| requestPhone | boolean Request the user's phone number. |
| requestEmail | boolean Request the user's email address. |
| requestAddress | boolean Request the user's registered address. |
| refId | string Reference ID returned verbatim in the result and callback. |
{- "requestPhone": true,
- "requestEmail": true,
- "requestAddress": true,
- "refId": "string"
}{- "id": "string",
- "refId": "string",
- "status": "PENDING",
}| minAge | integer >= 1 Minimum age (inclusive). |
| maxAge | integer >= 1 Maximum age (inclusive). |
| refId | string Reference ID returned verbatim in the result and callback. |
| callbackUrl | string <uri> URL to receive the result callback on success or failure. |
| redirectUrl | string <uri> URL to redirect the user to after completing age verification. |
{- "minAge": 1,
- "maxAge": 1,
- "refId": "string",
}{- "id": "string",
- "status": "PENDING",
- "minAge": 0,
- "maxAge": 0
}Accepts a single PDF file. Returns a document id to be referenced in signing requests.
| file | string <binary> |
{- "id": "string",
- "hash": "string"
}