Main API Docs
Searchโ€ฆ
Ghana ๐Ÿ‡ฌ๐Ÿ‡ญ
Verify if a Ghanaian ID document is legit through OCR

How It Works

The endpoint is constructed as follows.
1
https://api.appruve.co/v1/ocr_jobs/gh/{id_type}
Copied!
id_type should be replaced with the specific ID type. Supported ID types are passport, voter, driver_license, and ssnit
The request is a multipart POST request as shown in the example below. The id_image parameter is required and the value could be a File Object or a web URL.
1
curl --location --request POST 'https://api.appruve.co/v1/ocr_jobs/gh/driver_license' \
2
--header 'Authorization: Bearer TOKEN' \
3
--form '[email protected]"/path/gh_driver_license_1.jpg"'
Copied!
An example response is given below.
1
{
2
"id_details": {
3
"front_id": {
4
"id_number": "12345678",
5
"first_name": "John",
6
"middle_name": "",
7
"last_name": "Doe",
8
"date_of_birth": "1993-05-02",
9
"gender": "M",
10
"issue_date": "2020-03-11",
11
"expiry_date": "2025-05-02",
12
},
13
"back_id": null
14
},
15
"front_id_submitted": "URL",
16
"back_id_submitted": null,
17
"front_id_face_photo": "URL",
18
"document_analyses": [
19
{
20
"type": "TEMPLATE_MATCHING",
21
"is_check_successful": true,
22
"data": null
23
}
24
],
25
"id_confidence_score": 100
26
}
Copied!
Copy link