# Verify South African ID Number (SAID)

## SAID Verification

<mark style="color:green;">`POST`</mark> `{{baseurl}}/v2/api/identity/za/said`

#### Headers

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

#### Request Body

| Name                                               | Type    | Description                                                                        |
| -------------------------------------------------- | ------- | ---------------------------------------------------------------------------------- |
| id<mark style="color:red;">\*</mark>               | String  | Users SAID Number                                                                  |
| isSubjectConsent<mark style="color:red;">\*</mark> | Boolean | Indicate subject has given consent. <mark style="color:red;">`Must be true`</mark> |
| data                                               | Object  | Validation data object                                                             |
| lastName                                           | String  | Last name to compare against ID                                                    |
| firstName                                          | String  | First name to compare against ID                                                   |
| middleName                                         | String  | Middle name to compare against the ID                                              |
| email                                              | String  | Email address to compare against ID                                                |
| phoneNumber                                        | String  | Phone number to compare against the ID                                             |

### <mark style="color:yellow;">SAID Verification</mark>

SAID Number is used to verify that a provided South African number exists in the database.

{% tabs %}
{% tab title="SAID Verification Sample Request" %}

```json
{
    "id": "8012185201081",
    "isSubjectConsent": true,
    "validations": {
        "data": {
            "lastName": "PILLAY",
            "firstName": "LAVEN"
        }
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Found Response" %}

```json
{
    "success": true,
    "statusCode": 200,
    "message": "success",
    "data": {
        "id": "645bc7be395ca804e57a78ec",
        "validations": {
            "data": {
                "lastName": {
                    "validated": true,
                    "value": "PILLAY"
                },
                "firstName": {
                    "validated": true,
                    "value": "LAVEN"
                }
            },
            "validationMessages": ""
        },
        "parentId": null,
        "status": "found",
        "reason": null,
        "dataValidation": true,
        "selfieValidation": false,
        "firstName": "LAVEN",
        "lastName": "PILLAY",
        "isSmartCardIssued": "Yes",
        "idIssueDate": "20150708",
        "idSequenceNumber": "1",
        "deceasedStatus": "alive",
        "dateOfDeath": "",
        "maritalStatus": "Single",
        "dateOfMarriage": "",
        "onHANIS": "yes",
        "onNPR": "yes",
        "countryOfBirth": "South Africa",
        "hanisReference": "2305105157920",
        "isConsent": true,
        "businessId": "628b38f03ae28a14f52d4bf7",
        "image": "data:image/jpeg;base64,{{Base64String}}",
        "type": "zaSAID",
        "allValidationPassed": true,
        "requestedAt": "2023-05-10T16:35:36.420Z",
        "requestedById": "628b38f03ae28a5a122d4bf3",
        "country": "ZA",
        "createdAt": "2023-05-10T16:35:36.821Z",
        "lastModifiedAt": "2023-05-10T16:35:36.821Z",
        "metadata": {},
        "requestedBy": {
            "firstName": "API",
            "lastName": "User",
            "middleName": "",
            "id": "628b38f03ae28a5a122d4bf3"
        }
    },
    "links": []
}
```

{% endtab %}
{% endtabs %}

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

```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/south-africa/verify-south-african-id-number-said.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.
