Skip to main content
POST
Document Verification
Verify a customer’s proof of address by uploading a photo of a utility bill — no manual data entry required. Extraction only; no face match, no liveness check. This document doesn’t carry a face photo, so data.photo is always null.
Only document_front is needed for this document.

Endpoint

Request

Headers

Body Parameters

Example

Response

200 OK

400 Bad Request

401 Unauthorized

For a full list of error codes, see the Error Codes reference.

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

multipart/form-data
document_type
enum<string>
required

The kind of document being submitted. Which values are valid depends on country — passport works for every supported country; the rest are country-specific.

Available options:
national_id,
passport,
drivers_license,
voters_card,
kenya_id,
cac_certificate,
utility_bill
Example:

"passport"

country
enum<string>
required

Country the document was issued in.

Available options:
nigeria,
kenya,
ghana,
canada,
usa,
cote d'ivoire
Example:

"nigeria"

document_front
file
required

Front of the document. JPG or PNG, max 5MB.

document_back
file

Back of the document. Optional for every type, but recommended for two-sided documents (national_id, kenya_id, drivers_license) — extraction may be less complete without it.

Response

Document details extracted successfully