# Get KYC records By RequestID

This API allows clients to fetch  KYC records

### Base URL

```
sdk.faceki.com
```

### Generate KYC Link End Point API

```
https://sdk.faceki.com/kycverify/api/kycverify/records
```

{% hint style="info" %}
Method: GET

Authorization: Bearer Token

Content-Type: application/json
{% endhint %}

<mark style="color:blue;">`GET`</mark> `https://sdk.faceki.com/kycverify/api/kycverify/records`

#### Query Parameters

| Name                                        | Type   | Description                           |
| ------------------------------------------- | ------ | ------------------------------------- |
| requestId<mark style="color:red;">\*</mark> | String | Pass value of Request ID from the KYC |

#### Headers

| Name                                            | Type   | Description      |
| ----------------------------------------------- | ------ | ---------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer \[token]  |
| Content-Type<mark style="color:red;">\*</mark>  | String | application/json |

{% tabs %}
{% tab title="200: OK " %}

```
{
    "responseCode": 0,
    "data": [
        {
            "_id": "",
            "kycResponse": {
            
            },
            "livenessResponse": {
       
            },
            "fullName": "",
            "referenceId": "",
            "documentId": "",
            "DOB": "",
            "localName": "",
            "country": "",
            "countryCode": "",
            "countryCodeISO3": "",
            "idFrontImage": "",
            "idBackImage": "",
            "status": "ACCEPTED",
            "deleteStatus": "ACTIVE",
            "companyId": "",
            "selfieImage": "",
            "documentCropFaceImageUrl": "",
            "faceID": "",
            "difcCode": "",
            "link": "<LINK>",
            "deviceDetails": {},
            "modifiedBy": "",
            "createdAt": "2023-04-16T10:24:10.960Z",
            "updatedAt": "2023-05-26T12:26:02.656Z",
            "__v": 0,
            "requestId": ""
        }
    ]
}
```

{% endtab %}

{% tab title="401: Unauthorized " %}

```javascript
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

<figure><img src="https://3621714085-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQdiwjdAaMBpDtolO59Ll%2Fuploads%2F4nDqcb2WzWe6hZJYwqP2%2Fimage.png?alt=media&#x26;token=1f17a924-67fd-4e19-84bd-474fa449a3e2" alt=""><figcaption></figcaption></figure>
