Create a new identity verification request. Optionally send it immediately to the recipient.
Required Fields:
fullName - Full name of person to verify (required)channel - Delivery channel: EMAIL or SMS (required)email (for EMAIL) or phone (for SMS)Optional Fields:
ssn - Swedish personal number for SSN-based verification (without SSN, name-based verification is used)reference - External reference ID for trackingnote - Internal note about this verificationcontactId - Link to existing contactlocale - Message locale (default: sv-SE)Verification Methods:
ssn is provided, BankID verification validates both identity and SSN matchssn, BankID verifies identity and name matchResponse: Returns verification details including token and verification URL (only on creation, never exposed later).
Billing: Creating a sajn ID verification counts toward your monthly sajn ID quota and is billed accordingly.
Bearer token for API authentication
Body
Create sajn ID verification request
Full name of the person to verify (required)
1Delivery channel: EMAIL or SMS (required)
EMAIL, SMS Locale for verification messages (default: sv-SE)
Swedish personal number (personnummer) for SSN-based verification
Email address (required for EMAIL channel)
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Phone number (required for SMS channel)
Optional reference/external ID for tracking
Internal note about this verification
Optional contact ID to link this verification to
200
Unique sajn ID verification identifier
Organization ID
Full name of person being verified
Delivery channel used
EMAIL, SMS Current verification status
CREATED, SENT, OPENED, VERIFIED, FAILED, EXPIRED, CANCELED Locale for messages
When the verification token expires
When the verification was created
When the verification was last updated
Email address (if using EMAIL channel)
Phone number (if using SMS channel)
Reference/external ID
Internal note
When the verification was completed
Reason for failure (if status is FAILED)
Verification URL (only included when creating)
Verification token (only included when creating, for sending)
Linked contact information
User who created this verification
Audit log entries for this verification
Verification data (e.g., BankID response)