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

# List ReadyLinks

> Returns paginated list of the user's ReadyLinks, with filtering, sorting, and pagination. Feature-gated on the `multiReadyLink` flag. Returns 403 FEATURE_NOT_AVAILABLE if disabled.



## OpenAPI

````yaml /api-reference/openapi.json get /api/agent/readylinks
openapi: 3.1.0
info:
  title: Audity Agent API
  version: 1.0.0
  summary: >-
    The agent-facing surface of Audity AI: projects, leads, Nucleus, and
    account.
  description: >-
    Audity is a B2B SaaS for consultants who run automated business audits. This
    API is the agent-facing slice: a deliberately small set of task-shaped
    endpoints that lets external AI agents (Claude, ChatGPT, Cursor, n8n) act on
    a consultant's Audity workspace on their behalf.


    **Authentication:** Bearer token (`aky_...`) issued from
    `https://app.auditynow.com/dashboard/settings/api-tokens`. The middleware
    resolves the token to a Clerk user identity; tier and Row-Level Security
    gates apply automatically.


    **Rate limits:** reads 100/min, writes 20/min, async job polling 120/min;
    some expensive or high-volume endpoints have stricter caps. 429 responses
    include `Retry-After`.


    **Tier gating:** public plan names can change faster than API enum names.
    Use `GET /api/user/tier` and any `requiredTier` field in 403 responses as
    the source of truth for a specific account. Read-only or
    lead-generation-focused plans can read available data; audit-capable paid
    plans unlock writes, subject to token scope and credits.
  contact:
    name: Audity Support
    email: support@auditynow.com
    url: https://app.auditynow.com
  license:
    name: Proprietary
    identifier: LicenseRef-Audity-Proprietary
  termsOfService: https://auditynow.com/terms
servers:
  - url: https://app.auditynow.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: >-
      Audit project lifecycle, create, list, fetch, trigger analysis, get
      deliverables.
  - name: Leads
    description: ReadyLink-sourced leads, list, fetch, convert into projects.
  - name: Nucleus
    description: >-
      Nucleus is Audity's persistent memory + insight layer. Search memories,
      capture notes, read proactive insights, manage contacts.
  - name: Account
    description: Identity, tier, credits, usually called once per session for context.
  - name: ReadyLinks
    description: >-
      Manage ReadyLinks, the survey distribution links that generate leads. CRUD
      operations for links, customization, lead tracking.
  - name: Assessment Configs
    description: >-
      Manage assessment configurations that define survey questions, order,
      scoring, and customization.
  - name: Jobs
    description: >-
      Monitor async job status for long-running operations like audit analysis
      synthesis.
paths:
  /api/agent/readylinks:
    get:
      tags:
        - ReadyLinks
      summary: List ReadyLinks
      description: >-
        Returns paginated list of the user's ReadyLinks, with filtering,
        sorting, and pagination. Feature-gated on the `multiReadyLink` flag.
        Returns 403 FEATURE_NOT_AVAILABLE if disabled.
      operationId: listReadyLinks
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 50
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
        - name: sortBy
          in: query
          required: false
          schema:
            type: string
            enum:
              - created_at
              - updated_at
              - name
              - is_active
            default: created_at
        - name: sortOrder
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
        - name: isActive
          in: query
          required: false
          schema:
            type: boolean
            default: true
      responses:
        '200':
          description: Paginated ReadyLinks
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      readylinks:
                        type: array
                        items:
                          $ref: '#/components/schemas/ReadyLink'
                      pagination:
                        $ref: '#/components/schemas/PaginationInfo'
                      tierLimit:
                        type: integer
                        description: Maximum ReadyLinks allowed for this tier.
                      activeCount:
                        type: integer
                        description: Count of currently active ReadyLinks.
                    required:
                      - readylinks
                      - pagination
                required:
                  - data
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: >-
            Feature not available on your tier or the multiReadyLink flag is
            disabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWithCode'
              example:
                error: Feature not available
                code: FEATURE_NOT_AVAILABLE
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    ReadyLink:
      type: object
      description: >-
        A ReadyLink survey distribution link with customization and lead
        tracking.
      properties:
        id:
          type: string
          format: uuid
        slug:
          type: string
          description: URL-safe slug for the public survey link.
        name:
          type: string
          description: User-supplied name for this ReadyLink.
        fullUrl:
          type: string
          format: uri
          description: The complete public survey URL.
        isActive:
          type: boolean
          description: Whether the link is active (false means soft-deleted).
        assessmentConfigId:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            UUID of the assessment config (template or working config) used by
            this link.
        assessmentConfigName:
          type:
            - string
            - 'null'
          description: Name of the assessment config, for display purposes.
        bookingLink:
          type:
            - string
            - 'null'
          format: uri
          description: Optional booking/scheduling link to share with respondents.
        consultantName:
          type:
            - string
            - 'null'
          description: Customized consultant name displayed on the survey.
        consultantCompany:
          type:
            - string
            - 'null'
          description: Customized company name displayed on the survey.
        consultantLogo:
          type:
            - string
            - 'null'
          format: uri
          description: URL of the consultant's logo image.
        customDescription:
          type:
            - string
            - 'null'
          description: Custom description or tagline shown on the survey.
        leadCount:
          type: integer
          description: Number of leads generated from this ReadyLink.
        domainStatus:
          type: string
          enum:
            - not_configured
            - pending_dns
            - dns_verified
            - ssl_pending
            - active
            - error
          description: Status of custom domain configuration, if any.
        customDomain:
          type:
            - string
            - 'null'
          description: Custom domain assigned to this ReadyLink, if any.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - slug
        - name
        - fullUrl
        - isActive
        - leadCount
        - domainStatus
        - createdAt
        - updatedAt
    PaginationInfo:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
      required:
        - total
        - limit
        - offset
    ErrorWithCode:
      type: object
      description: >-
        Error response with an optional stable `code` field. When present,
        branch on `code` (the human-readable `error` may change). Some 403/400
        responses omit `code` (e.g. generic feature-disabled gates).
      properties:
        error:
          type: string
          description: Human-readable error message.
        code:
          type: string
          description: >-
            Stable error code, when applicable. Examples: `EMPTY_PATCH`,
            `INVALID_DESCRIPTION_TYPE`, `DESCRIPTION_TOO_LONG`, `PAT_MALFORMED`,
            `PAT_ROUTE_NOT_ALLOWED`, `PAT_NOT_SUPPORTED_FOR_ENDPOINT`,
            `PAT_SCOPE_INSUFFICIENT`, `PAT_DISABLED`.
      required:
        - error
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        details:
          type: string
          description: Additional context (development only).
      required:
        - error
  responses:
    Unauthorized:
      description: Missing or invalid token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
    RateLimited:
      description: Rate limit exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds to wait before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Audity Personal Access Token (aky_...)
      description: >-
        A Personal Access Token issued from
        https://app.auditynow.com/dashboard/settings/api-tokens. Format:
        `aky_<32 random chars>`.

````