Skip to main content
GET
/
products
List all products with their sub-products
curl --request GET \
  --url https://crossproductroadmapbackend.vercel.app/api/v1/products \
  --header 'Authorization: Bearer <token>' \
  --header 'x-tenant-slug: <x-tenant-slug>'
{
  "products": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "icon": "<string>",
      "iconColor": "<string>",
      "subProducts": [
        {
          "id": "<string>",
          "name": "<string>",
          "slug": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Generate an API key in your workspace Settings → API Keys. Pass it as Authorization: Bearer tab_<key> on every request.

Headers

x-tenant-slug
string
required

Your workspace slug (e.g. acme).

Response

OK

products
object[]