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

# Create Link Token



## OpenAPI

````yaml POST /api/embedded/v1/link/create-link-token
openapi: 3.1.0
info:
  title: Bindbee APIs
  version: 0.1.0
servers:
  - url: https://api.bindbee.dev
  - url: https://api-eu.bindbee.dev
security: []
paths:
  /api/embedded/v1/link/create-link-token:
    post:
      tags:
        - Link
      summary: Create Link Token
      operationId: create_link_token_api_embedded_v1_link_create_link_token_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkTokenCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkTokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    LinkTokenCreate:
      properties:
        end_user_data:
          $ref: '#/components/schemas/EndUserCreate'
          title: End user data
          description: End user data
        category:
          $ref: '#/components/schemas/UnifiedApiCategory'
          title: Categories
          description: Categories which will be shown in unify link
          examples:
            - HRIS
        integration:
          type: string
          title: Integration
          description: Integration slug of the integration
          examples:
            - bamboohr
      type: object
      required:
        - end_user_data
        - category
        - integration
      title: LinkTokenCreate
    LinkTokenResponse:
      properties:
        link_token:
          type: string
          title: Link Token
          description: Link token to be used for generating unify link
          examples:
            - KJDXZk8zC8Tdr-suQCy7zkALZVLjhKXyMd83leqheEGQpBx_evXrHA
      type: object
      required:
        - link_token
      title: LinkTokenResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EndUserCreate:
      properties:
        email:
          anyOf:
            - type: string
              format: email
            - type: 'null'
          title: Email
          description: Email of the end_user
          examples:
            - my_email@gmail.com
        org_name:
          type: string
          minLength: 2
          title: Organization Name
          description: Name of the organization to which end user belongs
          examples:
            - Kunal Organization
        origin_id:
          type: string
          minLength: 2
          title: Unique Identifier
          description: Unique identifier to identify Connector
          examples:
            - 2kh3ub45
      type: object
      required:
        - org_name
        - origin_id
      title: EndUserCreate
    UnifiedApiCategory:
      type: string
      enum:
        - HRIS
        - ATS
        - CUSTOM
        - LMS
      title: UnifiedApiCategory
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````