Skip to content

Products API

Base path: /api/products

GET /api/products

List all products.

Response 200:

[
{
"id": "prod_abc123",
"name": "ConnectWise PSA API",
"description": "Full access to ConnectWise PSA service tickets, companies, and contacts",
"status": "active",
"specFile": "connectwise.json",
"category": "integration",
"tags": ["PSA", "ConnectWise", "REST"],
"createdAt": "2024-01-15T10:00:00.000Z"
}
]

GET /api/products/:id

Get a single product by ID.

Response 200: Single product object (same shape as above).

Response 404: { "error": "Product not found" }

POST /api/products

Create a new product.

Request body:

{
"name": "My API",
"description": "Description visible to subscribers",
"status": "active",
"specFile": "my-api.json",
"category": "internal",
"tags": ["REST", "v2"]
}
Field Type Required Default
name string Yes —
description string No ""
status "active" | "inactive" No "inactive"
specFile string No null
category string No null
tags string[] No []

Response 201: Created product with auto-generated id and createdAt.

PUT /api/products/:id

Update a product. Accepts the same fields as POST. Only provided fields are updated (partial update).

Response 200: Updated product object.

DELETE /api/products/:id

Delete a product.

Response 200: { "success": true }