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

# List Affiliates

> This endpoint retrieves a paginated list of all affiliates associated with the store. Pagination can be controlled via `limit`, `page`, and `offset` query parameters, and results can be filtered by `status`. The `x-store-id` is required for authentication.



## OpenAPI

````yaml /api-reference/growth-api.json get /affiliates
openapi: 3.0.0
info:
  title: Growth API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
paths:
  /affiliates:
    get:
      tags:
        - Affiliates
      summary: List Affiliates
      description: >-
        This endpoint retrieves a paginated list of all affiliates associated
        with the store. Pagination can be controlled via `limit`, `page`, and
        `offset` query parameters, and results can be filtered by `status`. The
        `x-store-id` is required for authentication.
      parameters:
        - name: status
          in: query
          description: Filter affiliates by status.
          schema:
            type: string
      responses:
        '200':
          description: List of affiliates with pagination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatesList'
      security:
        - storeIdHeader: []
components:
  schemas:
    AffiliatesList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
            page:
              type: integer
            limit:
              type: integer
            has_more:
              type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/AffiliateDetails'
    AffiliateDetails:
      type: object
      properties:
        id:
          type: string
        store_id:
          type: string
        program_id:
          type: string
        status:
          type: string
        created_at:
          type: string
          format: date-time
        affiliate:
          type: object
          properties:
            id:
              type: string
            display_name:
              type: string
            website:
              type: string
            social_links:
              type: string
        stats:
          type: object
          properties:
            conversions:
              type: integer
            total_revenue:
              type: number
            total_commission:
              type: integer
            pending_commission:
              type: integer
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````