---
title: "List products"
method: GET
path: "/api/products"
tags: ["Products"]
---

# List products

`GET /api/products`

## Query parameters

- `type` 'course' | 'download' | 'blog'
- `published` boolean
- `search` string
- `tags` string[]
- `page` integer
- `limit` integer

## Response `200`

Products returned successfully.

- ProductListResponse
  - `data` Product[]
    - `productId` string
    - `type` 'course' | 'download' | 'blog'
    - `title` string
    - `slug` string
    - `description` string
    - `published` boolean
    - `privacy` string
    - `tags` string[]
    - `featuredImage` object
    - `pageId` string
    - `defaultPaymentPlan` string
    - `paymentPlans` PaymentPlan[]
      - `planId` string
      - `name` string
      - `type` 'free' | 'onetime' | 'emi' | 'subscription'
      - `entityId` string
      - `entityType` string
      - `oneTimeAmount` number
      - `emiAmount` number
      - `emiTotalInstallments` number
      - `subscriptionMonthlyAmount` number
      - `subscriptionYearlyAmount` number
      - `description` string
      - `isDefault` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `pagination` object
    - `page` integer
    - `limit` integer

## Other responses

- `401` — Invalid API key.

---

[API](https://skmtc.net/codelitdev/apis/courselit-rest-api.md) · [All operations](https://skmtc.net/codelitdev/apis/courselit-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/codelitdev/courselit-rest-api/versions/3b48f60910dc/schema)
