Skip to main content
GET
/
products
/
{id}
Get a single product with its sub-products
curl --request GET \
  --url https://crossproductroadmapbackend.vercel.app/api/v1/products/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-tenant-slug: <x-tenant-slug>'
{
  "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).

Path Parameters

id
string
required

Response

OK

id
string
name
string
slug
string
icon
string | null
iconColor
string | null
subProducts
object[]