Requirements:
- API key pair
- Direct Processing enabled (configured by iDenfy staff)
Sending request
Request parameters
authToken — string (required)
authToken — string (required)
A unique string for the verification session. Must be 10-40 characters, ASCII only.
country — string (required)
country — string (required)
Country code in ISO 3166-1 alpha-2 format (e.g.,
LT, US).documentType — string (required)
documentType — string (required)
Type of document being submitted. Possible values:
ID_CARD, PASSPORT, DRIVER_LICENSE, RESIDENCE_PERMIT.images — object (required)
images — object (required)
Object containing Base64-encoded images. Keys can include:
FRONT, BACK, FACE.skipAnalysis — boolean (optional)
skipAnalysis — boolean (optional)
Set to
true to skip photo validation. Useful if document detection fails on valid photos.Possible errors:
- Invalid JSON or API key/secret returns a standard iDenfy error response. See error messages.
- A
200 OKwith an error message may indicate the document was not detected in the photo.
- Disable Validate photos in environment settings (done by iDenfy staff)
- Add
skipAnalysis: truein the request - Use a clearer photo with a visible document or selfie