Main API Docs
Search…
Côte d'Ivoire 🇨🇮
Extract PII data from Côte d'Ivoire ID documents

How It Works

Appruve's OCR API allows you to extract the Personally identifiable information from a Côte d’Ivoire ID document including the ID face photo. This API also performs an analyses on each document uploaded to determine if the document is legit or not. Document analyses include Template Matching, UV Hologram / Ghost image Tampering Detection, Barcode and MRZ checks.
The endpoint is constructed as follows.
1
https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/{id_type}
Copied!
id_type should be replaced with the specific ID type. Supported ID types include passport, national_id, residence_permit, and identity_certificate (Attestation D'Identité )
The request is a multipart POST request as shown in the example below. The front_id_image and back_id_image parameters are required and their values could be a File Object or a web URL.
Example National ID Request
1
curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/national_id' \
2
--header 'Authorization: Bearer TOKEN' \
3
--form '[email protected]"/path/ci_national_id_front.jpg"' \
4
--form '[email protected]"/path/ci_national_id_back.jpg"'
Copied!
Example Passport Request
1
curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/passport' \
2
--header 'Authorization: Bearer TOKEN' \
3
--form '[email protected]"/path/passport.jpg"'
Copied!
Example Residence Permit Request
1
curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/identity_certificate' \
2
--header 'Authorization: Bearer TOKEN' \
3
--form '[email protected]"/path/identity_certificate.jpg"'
Copied!
Example Identity Certificate Request
1
curl --location --request POST 'https://api.appruve.co/v1/verifications/selfie_image/ocr/ci/passport' \
2
--header 'Authorization: Bearer TOKEN' \
3
--form '[email protected]"/path/passport.jpg"'
Copied!
An example response is given below.
1
{
2
"id_details": {
3
"front_id": {
4
"first_name": "John",
5
"last_name": "Doe",
6
"id_number": "C123456789",
7
"date_of_birth": "1900-05-01",
8
"issue_date": "2018-05-04",
9
"expiry_date": "2028-05-03",
10
"gender": "M",
11
"place_of_birth": "",
12
"height": "1,72"
13
},
14
"back_id": {
15
"fathers_name": "John Doe Snr",
16
"mothers_name": "Margaret Doe",
17
"fathers_date_of_birth": "1900-11-11,
18
"mothers_date_of_birth": "1978-04-14",
19
"home_address": "Port Bouet",
20
"serial_number": "100 000000 000 000"
21
}
22
},
23
"front_id_submitted": "",
24
"back_id_submitted": "",
25
"front_id_face_photo": "",
26
"transaction_reference": "c17cb1bf-0ee4-4591-b421-00939ee7063a",
27
"document_analyses": [
28
{
29
"type": "TEMPLATE_MATCHING",
30
"is_check_successful": true,
31
"data": null
32
}
33
],
34
"id_confidence_score": 100.00
35
}
Copied!
The returned transaction_reference value should be used for the Upload Selfie endpoint.
Copy link