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

# List products



## OpenAPI

````yaml /openapi.json get /api/v1/products
openapi: 3.1.0
info:
  title: SleetPay API
  version: 1.0.0
  description: >-
    Create checkouts, read customers, orders and subscriptions, ingest usage
    events, manage seats and validate license keys. Authenticate with an
    organization access token (`Authorization: Bearer sk_live_...`) created in
    Dashboard > API keys, or an OAuth access token. Each key carries scopes; an
    endpoint needing a scope the key lacks answers 403. Amounts are integers in
    the currency's minor unit (cents for USD). Lists return `{ items, pagination
    }` and take `page` and `limit` (max 100).
servers:
  - url: https://app.sleetpay.com
security: []
tags:
  - name: Checkouts
  - name: Products
  - name: Customers
  - name: Orders
  - name: Subscriptions
  - name: Seats
  - name: License keys
  - name: Usage
  - name: Credits
  - name: Customer sessions
paths:
  /api/v1/products:
    get:
      tags:
        - Products
      summary: List products
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
          description: Page size (max 100).
        - name: include_archived
          in: query
          schema:
            type: boolean
          description: Include archived and unapproved products.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Product'
                  pagination:
                    type: object
                    properties:
                      total_count:
                        type: integer
                      max_page:
                        type: integer
                required:
                  - items
                  - pagination
        '400':
          description: The request body or parameters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, expired or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key does not carry the scope this endpoint needs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Retry after the `Retry-After` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth:
            - products:read
components:
  schemas:
    Product:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        is_recurring:
          type: boolean
        recurring_interval:
          type:
            - string
            - 'null'
          description: month | year
        recurring_interval_count:
          type:
            - integer
            - 'null'
          description: 'Bills every N intervals: 1, or 3 / 6 with month'
        seat_based:
          type: boolean
        min_seats:
          type:
            - integer
            - 'null'
        max_seats:
          type:
            - integer
            - 'null'
        is_archived:
          type: boolean
        review_status:
          type: string
        organization_id:
          type: string
        prices:
          type: array
          items:
            $ref: '#/components/schemas/Price'
        created_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          description: A human-readable message.
      required:
        - error
    Price:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          description: standard | free | credit_pack | metered
        amount:
          type: integer
        currency:
          type: string
        is_archived:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization access token or OAuth access token. Scopes: products:read
        (List products and prices); checkouts:read (Read checkout sessions);
        checkouts:write (Create checkout sessions); customers:read (Read
        customers); customers:write (Create and update customers); orders:read
        (Read orders); subscriptions:read (Read subscriptions);
        subscriptions:write (Cancel and resume subscriptions); license_keys:read
        (Read license keys and activations); customer_sessions:write (Mint
        customer portal sessions); events:write (Ingest usage events);
        meters:read (Read meters); balance:read (Read customer credit balances);
        credits:write (Transfer prepaid credits between customers); seats:read
        (Read seat assignments); seats:write (Assign and revoke seats).

````

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