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

# Create a Plaid Link token

> Returns a short-lived link_token the client passes to Plaid Link. Optionally scope which institutions Link shows by passing country_codes (e.g. the country of the customer being onboarded); defaults to all approved countries. After the user completes the flow, POST /account-connections with the returned public_token.



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/account-connections/plaid/link-token
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.29
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Parties
    description: >-
      The workspace entity register: the firm itself, its clients, and its
      counterparties.
paths:
  /v2/account-connections/plaid/link-token:
    post:
      tags:
        - Account Connections
      summary: Create a Plaid Link token
      description: >-
        Returns a short-lived link_token the client passes to Plaid Link.
        Optionally scope which institutions Link shows by passing country_codes
        (e.g. the country of the customer being onboarded); defaults to all
        approved countries. After the user completes the flow, POST
        /account-connections with the returned public_token.
      operationId: createPlaidLinkToken
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePlaidLinkTokenDto'
      responses:
        '201':
          description: ''
components:
  schemas:
    CreatePlaidLinkTokenDto:
      type: object
      properties:
        country_codes:
          description: >-
            ISO 3166-1 alpha-2 country codes that scope which institutions Plaid
            Link shows (e.g. the country of the customer being onboarded). Must
            be a subset of the countries the Plaid account is approved for;
            defaults to all approved countries when omitted.
          example:
            - GB
          type: array
          items:
            type: string
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.