Verify an identity document
Extract ID documents and act on what comes back.
Before you start
Step 1 — Find the right document type
curl -s "https://api-docai-uat.uptiq.ai/listSupportedDocuments" \
| jq -r '.documents[] | select(.category == "Identity Document") | "\(.type)\t\(.name)"'AadhaarCard Aadhaar Card
Passport Passport
…Step 2 — Check the accepted formats first
curl -s "https://api-docai-uat.uptiq.ai/document/supported-file-types" \
-H "X-Api-Key: $DOCAI_API_KEY" | jq '.data.AadhaarCard'Step 3 — Extract
Step 4 — Judge the capture quality
Step 5 — Check the integrity signals
Step 6 — Decide
Signals
Decision
What is not here
Related pages
Last updated

