# Verify National ID

## CIV ID Verification

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

This endpoint allows you to perform different types of 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                                                |

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

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

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

```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="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;">CIV ID Validation</mark>

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

```json
{
    "id": "11978031809",
    "isSubjectConsent": true,
    "validations": {
        "data": {
            "lastName": "KOFFI",
            "firstName": "LONZO HENOCH ANGE MICHAEL",
            "dateOfBirth": "1999-05-26"
        }
    }
}
```

{% endtab %}
{% endtabs %}

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

```json
{
    "success": true,
    "statusCode": 200,
    "message": "success",
    "data": {
        "id": "6929ab1ed4f3a3f47146cf56",
        "validations": {
            "data": {
                "lastName": {
                    "validated": true,
                    "value": "KOFFI"
                },
                "dateOfBirth": {
                    "validated": true,
                    "value": "1999-05-26"
                },
                "firstName": {
                    "validated": true,
                    "value": "LONZO HENOCH ANGE MICHAEL"
                }
            },
            "validationMessages": "No Photo from data source"
        },
        "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": null,
        "nationality": "CIV",
        "dateOfBirth": "1999-05-26",
        "isConsent": true,
        "idNumber": "C0117721704",
        "businessId": "61d880f1e8e15aaf24558f1a",
        "type": "ciNationalId",
        "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: 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:

```
GET https://doc.youverify.co/know-your-customer-services-kyc/id-data-matching-eidv/cote-divoire/verify-national-id.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
