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

# Request quick link code



## OpenAPI

````yaml api-reference/features/integrate.json POST /quicklink/{token}/code
openapi: 3.0.3
info:
  title: Integrate API methods
  version: 1.0.0
  description: Task-focused integrate methods across supported Polymorfa connection types.
servers: []
security: []
paths:
  /quicklink/{token}/code:
    post:
      tags:
        - Quicklink
      summary: Request quick link code
      operationId: nativeRequestQuickLinkCode
      parameters:
        - schema:
            type: string
            description: Opaque QuickLink token from the hosted URL.
          required: true
          name: token
          in: path
          description: Opaque token required by the target operation.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/native__QuickLinkCodeRequest'
      responses:
        '200':
          description: Pairing code issued
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      code:
                        type: string
                        description: Stable machine-readable code for this result.
                      phone:
                        type: string
                        description: Phone number in international format.
                    required:
                      - code
                      - phone
                    description: Structured data carried by this object.
                required:
                  - data
        '400':
          description: Bad request — request body or params failed validation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/native__ErrorResponse'
        '401':
          description: Missing or invalid authentication token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/native__ErrorResponse'
        '403':
          description: Authenticated but not permitted (missing scope or rule violation)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/native__ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/native__ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/native__ErrorResponse'
      security: []
      servers:
        - url: https://api.polymorfa.com
components:
  schemas:
    native__QuickLinkCodeRequest:
      type: object
      properties:
        phone:
          type: string
          minLength: 6
          maxLength: 20
          description: |-
            Phone number in international format.

            <!-- polymorfa-input-table -->
            **Value constraints**
            | Constraint | Accepted input |
            | --- | --- |
            | String length | `6` through `20` characters |
      required:
        - phone
    native__ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        docs:
          type: string
          description: URL to the documentation for this error
      required:
        - error

````