# Generate KYC Link

This API allows clients to generate a unique KYC link for their users to verify their identity. The generated link can be sent to the user. Once the user follows the link, they can continue the verification process via a web browser.

### Base URL

```
sdk.faceki.com
```

### Generate KYC Link End Point API

```
https://sdk.faceki.com/kycverify/api/kycverify/kyc-verify-link
```

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

Authorization: Bearer Token

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

<figure><img src="https://2740493135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa8ZQwB8n4moII834UHCv%2Fuploads%2Fa7JT4anOJWlz2o5XRlTc%2Fimage.png?alt=media&#x26;token=a677078b-33f7-4bcd-be61-d77b7ac604f6" alt=""><figcaption></figcaption></figure>

<mark style="color:green;">`POST`</mark> `https://sdk.faceki.com/kycverify/api/kycverify/kyc-verify-link`

#### Headers

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

#### Request Body

| Name                                         | Type   | Description                                                                                 |
| -------------------------------------------- | ------ | ------------------------------------------------------------------------------------------- |
| expiryTime                                   | Number | expiryTime in minutes                                                                       |
| applicationId                                | String | Unique Identifier for record                                                                |
| redirect\_url                                | String | Redirect URL After KYC                                                                      |
| workflowId<mark style="color:red;">\*</mark> | String | Mandatory, you can generate a workflow through the portal and copy the ID to use in the API |

{% tabs %}
{% tab title="200: OK Generated KYC Link Response" %}

<pre><code>{
    "responseCode": 0,
    "data": "LINKID",
    "url": "Verification URL"
<strong>}
</strong></code></pre>

{% endtab %}

{% tab title="401: Unauthorized Unauthorized Request" %}
Kindly check the Token is not expired, find more about the token [here](https://docs.faceki.com/api-integration/verification-apis/authentication)
{% endtab %}
{% endtabs %}
