Developers

QueryReply AI Developer API

Manage your product catalog from your own software — an ERP, storefront, or inventory system — using a personal API key instead of the dashboard. Every endpoint the dashboard uses is available to you here.

Generate a key from your dashboard — API access is included on the Gold plan.

Authentication

Every request needs your API key in an Authorization header, as a bearer token. Keys are generated and revoked from the dashboard and are never shown again after creation — store yours somewhere safe.

Authorization: Bearer YOUR_API_KEY

Base URL

https://api.queryreply.ai

Products endpoints

GET/api/products

List your products

Returns every product in your catalog, most recently created first.

curl https://api.queryreply.ai/api/products \
  -H "Authorization: Bearer YOUR_API_KEY"
POST/api/products

Create a product

Only "name" is required — every other field is optional.

curl -X POST https://api.queryreply.ai/api/products \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Wireless Mouse",
  "price": 19.99,
  "stock": 42,
  "category": "Electronics",
  "sku": "WM-100",
  "colors": ["Black", "White"],
  "imageUrl": "https://example.com/mouse.jpg",
  "description": "Ergonomic wireless mouse with USB-C charging."
}'
PATCH/api/products/:id

Update a product

Send only the fields you want to change — everything else is left as-is.

curl -X PATCH https://api.queryreply.ai/api/products/PRODUCT_ID \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "stock": 37, "price": 17.99 }'
DELETE/api/products/:id

Delete a product

Permanently removes the product. Returns 204 with no body on success.

curl -X DELETE https://api.queryreply.ai/api/products/PRODUCT_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

Errors

Errors are returned as JSON with an error string and a matching HTTP status code.

  • 400 — the request body failed validation (e.g. missing or invalid name).
  • 401 — the API key is missing, invalid, or has been revoked.
  • 404 — no product exists with that ID on your account.