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

# Fetch active link

> Retrieve an active UCC and invite link for a given user to support contextual sharing.



## OpenAPI

````yaml GET /referral-codes/active-link/{productUserId}
openapi: 3.1.0
info:
  title: Cello API
  description: API for Cello referral platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.cello.so
  - url: https://api.sandbox.cello.so
security:
  - bearerAuth: []
paths:
  /referral-codes/active-link/{productUserId}:
    get:
      description: >-
        Retrieve an active UCC and invite link for a given user to support
        contextual sharing.
      parameters:
        - name: productUserId
          in: path
          required: true
          description: Product-specific user identifier
          schema:
            type: string
      responses:
        '200':
          description: Active link returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActiveLinkResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    ActiveLinkResponse:
      type: object
      required:
        - activeUcc
        - link
      properties:
        activeUcc:
          type: string
          description: Active referral code
        link:
          type: string
          description: Full invite link
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````