> For the complete documentation index, see [llms.txt](https://doc.youverify.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youverify.co/api-reference-sdk/api-reference/quick-check/know-your-customer-services-kyc/id-data-matching-eidv/cote-divoire/verify-old-national-id.md).

# Verify Old National ID

## Old CIV ID Verification

<mark style="color:green;">`POST`</mark> `{{baseurl}}/v2/api/identity/ci/old-national-id`

This endpoint allows you to perform different types of the old CIV ID verifications.

#### Headers

| Name                                    | Type   | Description      |
| --------------------------------------- | ------ | ---------------- |
| token<mark style="color:red;">\*</mark> | String | API secret token |

#### Request Body

| Field                                              | Type    | Description                                                                        |
| -------------------------------------------------- | ------- | ---------------------------------------------------------------------------------- |
| id<mark style="color:red;">\*</mark>               | String  | National ID NNI number                                                             |
| isSubjectConsent<mark style="color:red;">\*</mark> | Boolean | Indicate subject has given consent. <mark style="color:red;">`Must be true`</mark> |
| validations                                        | Object  | Validation object                                                                  |
| data                                               | Object  | Validation data object                                                             |
| lastName                                           | String  | lastname to compare against ID                                                     |
| firstName                                          | String  | firstname to compare against ID                                                    |
| dateOfBirth                                        | String  | date of birth to compare against ID                                                |
| selfie                                             | Object  | Selfie validation object                                                           |
| image                                              | String  | Selfie image URL                                                                   |

### <mark style="color:green;">Old CIV ID Verification</mark>

{% tabs %}
{% tab title="Old CIV ID Verification Sample Request" %}

```json
{
    "id": "C0117721704",
    "isSubjectConsent": true
}

```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Old CIV ID Verification Sample Response" %}

```json
{
    "success": true,
    "statusCode": 200,
    "message": "success",
    "data": {
        "id": "69325463c04b51be59affb65",
        "parentId": null,
        "status": "found",
        "reason": null,
        "dataValidation": false,
        "selfieValidation": false,
        "firstName": "LONZO HENOCH ANGE MICHAEL",
        "middleName": null,
        "lastName": "KOFFI",
        "fullName": "LONZO HENOCH ANGE MICHAEL KOFFI",
        "fatherFirstName": "KOUADIO LAMBERT",
        "fatherLastName": "KOFFI",
        "motherFirstName": "PIERRE ALICE",
        "motherLastName": "TOUKOURA",
        "fatherDateOfBirth": "1965-02-27",
        "motherDateOfBirth": "1902-02-27",
        "image": null,
        "nationality": "CIV",
        "dateOfBirth": "1999-05-26",
        "isConsent": true,
        "idNumber": "C0117721704",
        "businessId": "62c2a4868d319373a6280152",
        "type": "ciNationalId",
        "allValidationPassed": true,
        "gender": "Male",
        "issuedDate": null,
        "expiredDate": null,
        "documentId": "11978031809",
        "requestedAt": "2025-12-05T03:41:24.017Z",
        "requestedById": "62c2a4868d3193700828014e",
        "country": "CI",
        "createdAt": "2025-12-05T03:41:24.029Z",
        "lastModifiedAt": "2025-12-05T03:41:24.029Z",
        "adverseMediaReport": null,
        "amlReport": null,
        "metadata": {},
        "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "62c2a4868d3193700828014e"
        }
    },
    "links": []
}
```

{% endtab %}
{% endtabs %}

### <mark style="color:green;">Old CIV ID Validation</mark>

{% tabs %}
{% tab title="Old CIV ID Validation Sample Request" %}

```json
{
    "id": "C0117721704",
    "isSubjectConsent": true,
    "validations": {
        "data": {
            "lastName": "BADOU",
            "firstName": "BOA JEAN-LOUIS STEVe",
            "dateOfBirth": "1999-05-26"
        },
        "selfie": {
            "image": "https://youverify-cdn.fra1.digitaloceanspaces.com/1764798098627-kqocQptDzZ3oT40JllGNd.jpg"
        }
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Old CIV ID Validation Sample Response" %}

```json
{
    "success": true,
    "statusCode": 200,
    "message": "success",
    "data": {
        "id": "6929ab1ed4f3a3f47146cf56",
        "validations": {
            "data": {
                "lastName": {
                    "validated": false,
                    "value": "BADOU"
                },
                "dateOfBirth": {
                    "validated": true,
                    "value": "1999-05-26"
                },
                "firstName": {
                    "validated": false,
                    "value": "BOA JEAN-LOUIS STEVe"
                }
            },
            "selfie": {
                "selfieVerification": {
                    "confidenceLevel": 97,
                    "threshold": 80,
                    "match": true,
                    "image": "https://youverify-cdn.fra1.digitaloceanspaces.com/1764798098627-kqocQptDzZ3oT40JllGNd.jpg"
                }
            },
            "validationMessages": "First name does not match, Last name does not match"
        },
        "parentId": null,
        "status": "found",
        "reason": null,
        "dataValidation": true,
        "selfieValidation": false,
        "firstName": "LONZO HENOCH ANGE MICHAEL",
        "middleName": null,
        "lastName": "KOFFI",
        "fullName": "LONZO HENOCH ANGE MICHAEL KOFFI",
        "fatherFirstName": "KOUADIO LAMBERT",
        "fatherLastName": "KOFFI",
        "motherFirstName": "PIERRE ALICE",
        "motherLastName": "TOUKOURA",
        "fatherDateOfBirth": "1965-02-27",
        "motherDateOfBirth": "1902-02-27",
        "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD...",
        "nationality": "CIV",
        "dateOfBirth": "1999-05-26",
        "isConsent": true,
        "idNumber": "C0117721704",
        "businessId": "61d880f1e8e15aaf24558f1a",
        "type": "ciOldNationalId",
        "allValidationPassed": false,
        "gender": "Male",
        "issuedDate": null,
        "expiredDate": null,
        "documentId": "11978031809",
        "requestedAt": "2025-11-28T14:01:02.918Z",
        "requestedById": "61d880f1e8e15aaf24558f1c",
        "country": "CI",
        "createdAt": "2025-11-28T14:01:03.063Z",
        "lastModifiedAt": "2025-11-28T14:01:03.063Z",
        "adverseMediaReport": null,
        "amlReport": null,
        "metadata": {},
        "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "61d880f1e8e15aaf24558f1c"
        }
    },
    "links": []
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Error Responses" %}

```json

  "success": false,
  "statusCode": 404,
  "message": "You have attempted to get a resource that does not exist.",
  "name": "ResourceNotFoundError",
  "data": {}
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.youverify.co/api-reference-sdk/api-reference/quick-check/know-your-customer-services-kyc/id-data-matching-eidv/cote-divoire/verify-old-national-id.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
