Perform Document Check
Use the API to run document verification for KYC and identity verification workflows.
Overview
This guide shows you how to run a Document Check using the ComplyCube API.
Integration steps

Upload front side of ID
Upload a BASE64-encoded image of the front of the ID document. Depending on the document type and issuing country, both sides may be required.
Images must be in JPG, PNG, or PDF format and between 34 KB and 4 MB in size.
Below is a sample BASE64-encoded file. Download it, copy its contents, and paste them into the data attribute when making the request.
Example request for uploading the front-side image of a document
Example response
Retrieve results
ComplyCube will then run the check. You can retrieve its outcome and detailed breakdown via the API, or review the results in the Portal.
If you have set up webhooks, you’ll also receive a notification once the check is complete.
Example request for retrieving the check outcome
Example response

