# 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="/files/nrkaTLn7bnu2aEdwpB8u" 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](/api-integration/verification-apis/authentication.md)
{% 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://docs.faceki.com/api-integration/verification-apis/generate-kyc-link.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.
