ID Verification is a Gueno verification service that validates an identity document by sending the front image (required) and optionally the back image (for two-sided documents such as national IDs). The API returns Approved or Declined, plus extracted data (name, document number, date of birth, address, MRZ, etc.) and optional warnings. No hosted session is involved—you send the images and get the result in one call.
When to use which
Session-based KYC (POST /api/kyc/validations): Full flow with hosted URL, live selfie, liveness, and document capture. Best for onboarding and regulated flows.
Face Match (POST /api/kyc/face-match): Compare two images (document portrait + selfie) to verify they are the same person; returns match + score.
ID Verification (POST /api/kyc/id-verification): Send document front (and optional back); get document validation, extracted data (MRZ, name, address, etc.), and Approved/Declined. Best when you already have document images and need extraction + validation only.
ID Verification integration enabled: Your organization must have the ID Verification KYC integration activated (e.g. in Marketplace / Integrations).
Credentials configured: The API key for the ID Verification integration must be set in your organization’s KYC settings (configured by the Gueno administrator). This provider only requires the API key (no webhook secret for this endpoint).
ID Verification is a Gueno service. All verification is performed by our infrastructure; no third-party provider names are exposed in API responses or error messages.
Only multipart/form-data is accepted. You can send images in either of two ways (or mix):
As file parts: attach image/files to the form fields documentFront and (optional) documentBack.
As base64 strings: send the same field names with base64-encoded image strings (with or without data:image/...;base64, prefix).
documentFront is required: you must send either a file or a base64 string for it. If neither is provided, the API returns 400. documentBack is optional. For each image, if you send both a file and a base64 string, the file is used.
Do not set Content-Type manually when using FormData; the client will set it with the correct boundary.If your account uses organization scoping, include:
Front image of the identity document. Send as a file part (recommended) or as a string (base64, with or without data:image/...;base64, prefix). Formats: JPEG, PNG, WebP, TIFF, PDF. Max 5MB.
Every ID Verification request (success or failure) is stored in id_verification_verifications for audit and compliance. The response includes verificationId (the audit record ID) when persistence succeeds. All endpoints below are part of the Gueno API; no third-party provider names appear in responses or in this documentation.
GET https://api.gu1.ai/api/kyc/id-verification/verifications/:id
Returns one audit record by ID. Path:id — UUID of the verification (from the POST response verificationId or from the list).Response (200): Same shape as one item in the list: id, organizationId, entityId, status, requestId, vendorData, errorMessage, warnings, extractedData, createdAt, documentFrontStoragePath, documentBackStoragePath, storageProvider, etc. 404 if not found or not in your organization.
If the verification has stored images (documentFrontStoragePath / documentBackStoragePath), you can stream them with:
Copy
Ask AI
GET https://api.gu1.ai/api/kyc/id-verification/verifications/:id/document-front-imageGET https://api.gu1.ai/api/kyc/id-verification/verifications/:id/document-back-image
Path:id — UUID of the verification. Response: Image bytes (e.g. Content-Type: image/jpeg). 404 if the verification does not exist or that side was not stored.
Session flow creates a kyc_validations record and uses a hosted URL; the stored decision can include document, liveness, and face match from the live session.
Face Match compares document portrait + selfie and returns match + score; audit in face_match_verifications.
ID Verification validates the document (front/back), extracts data, and returns Approved/Declined; audit in id_verification_verifications. It does not create a kyc_validations record. Use it when you need document-only validation and extraction without a hosted session.