> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rolla.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Individual KYC Link

> Generates a hosted identity verification link for an INDIVIDUAL account (the individual-flow parallel of the related-person KYC link). Share the returned URL with the account holder — it opens a Rolla-hosted page where they upload an ID and complete a liveness check. Only valid for individual accounts; calling it on a business account returns 400. Generating a new link invalidates the previous one. Links expire after 72 hours.

Generates a hosted identity verification link for an **individual account** — the individual-flow parallel of the [related-person KYC link](/api-reference/endpoint/accounts/kyc-link). Share the returned URL with the account holder: it opens a Rolla-hosted page where they upload an ID document and complete a liveness check. Their verification status is reflected in [Get Requirements](/api-reference/endpoint/accounts/requirements) and [Get Verification Status](/api-reference/endpoint/accounts/verification-status).

<Note>
  This endpoint is **only** for individual accounts. For a business account's owners and directors, use the [related-person KYC link](/api-reference/endpoint/accounts/kyc-link) instead — calling this on a business account returns `400`.
</Note>

<Tip>
  Already verify identity in your own onboarding? [Submit KYC Reliance](/api-reference/endpoint/accounts/kyc-reliance) lets you upload the passport and liveness capture you collected instead of sending the account holder through this hosted flow. It is enabled per partner.
</Tip>

## Example Request

```bash theme={null}
curl -X POST "https://api.rolla.xyz/api/v1/external/accounts/eec3cbed-79d8-4370-87a0-b6be9e287337/kyc-link" \
  -H "X-API-Key: your_api_key_here"
```

## Example Response

```json theme={null}
{
  "success": true,
  "message": "KYC link generated successfully",
  "data": {
    "token": "969e35c36f99f9d511863c89cea0d4082bc3bf66b5484d9a70d79a7c39d6fe74",
    "url": "https://app.rolla.xyz/en/kyc/individual/969e35c36f99f9d511863c89cea0d4082bc3bf66b5484d9a70d79a7c39d6fe74",
    "status": "active",
    "expiresAt": "2026-06-15T23:32:12.902Z",
    "accountId": "eec3cbed-79d8-4370-87a0-b6be9e287337"
  }
}
```

<Info>
  For **white-label tenants**, the `url` is returned on your branded subdomain (e.g. `https://yourbrand.rolla.xyz/en/kyc/individual/...`), so your customers stay on-brand throughout verification.
</Info>

## Key Behaviours

<Info>
  Links expire after **72 hours**. Generating a new link for the same account invalidates the previous one.
</Info>

<Tip>
  The link `status` becomes `completed` once the account holder passes verification, or `rejected` if it fails — in which case you can generate a fresh link for a retry.
</Tip>


## OpenAPI

````yaml POST /accounts/{accountId}/kyc-link
openapi: 3.1.0
info:
  title: Rolla Developer API
  description: >-
    API for programmatic transaction management on the Rolla platform. Monetary
    `amount` fields use the smallest unit of the referenced currency unless an
    endpoint says otherwise (e.g. NGN = kobo, USD = cents, where **100 cents =
    USD 1.00**).
  version: 1.0.0
servers:
  - url: https://api.rolla.xyz/api/v1/external
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /accounts/{accountId}/kyc-link:
    post:
      summary: Generate Individual KYC Link
      description: >-
        Generates a hosted identity verification link for an INDIVIDUAL account
        (the individual-flow parallel of the related-person KYC link). Share the
        returned URL with the account holder — it opens a Rolla-hosted page
        where they upload an ID and complete a liveness check. Only valid for
        individual accounts; calling it on a business account returns 400.
        Generating a new link invalidates the previous one. Links expire after
        72 hours.
      operationId: createIndividualKycLink
      parameters:
        - name: accountId
          in: path
          required: true
          description: >-
            Identifier of an individual account owned by the same user as your
            API key's business
          schema:
            type: string
            format: uuid
      responses:
        '201':
          description: KYC link generated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: KYC link generated successfully
                  data:
                    type: object
                    properties:
                      token:
                        type: string
                      url:
                        type: string
                        description: >-
                          Hosted verification page to share with the account
                          holder. Links expire after 72 hours.
                      status:
                        type: string
                        enum:
                          - active
                          - completed
                          - rejected
                          - expired
                      expiresAt:
                        type: string
                        format: date-time
                      accountId:
                        type: string
                        format: uuid
        '400':
          description: >-
            Not an individual account (use the related-person KYC link for
            business owners/directors)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Rolla API key

````