DocumentationAPI and authentication

HostPanel · Hoster guides

API and authentication

Choose public catalog requests or private server access, depending on the data you need.

Quick steps
  1. Decide whether you need public products or private workspace records.
  2. Use a public request without a key for the catalog. Create a scoped read key for private records.
  3. Replace the placeholders and run the example from your backend. Check data in the response.

Server API base URL

Append every shortened server route in these guides to https://YOUR_PANEL_DOMAIN/api/v1. For example, /products means https://YOUR_PANEL_DOMAIN/api/v1/products. The public browser catalog proxy uses the separate /api/store/... path.

Public catalog access

Public catalog reads do not require a key. Browser requests use the frontend proxy at /api/store/YOUR_STORE_SLUG; server requests use /api/v1/store/YOUR_STORE_SLUG. Public cross-origin browser POST requests are not enabled: use the hosted storefront or your backend.

Access private workspace data

Create a scoped read key in Settings → Public API access when your plan and platform features allow it. Keep it on your server. Keys are organization-bound, shown once, and expire after a year. They do not authorize customer checkout.

Understand API responses

Responses contain data and meta. Errors contain error.code, error.message and error.details. Handle 401 authentication, 403 permissions, 404 missing records, 422 validation and 429 rate limits. Private lists support page and per_page (maximum 100).

Request or configuration example

curl 'https://YOUR_PANEL_DOMAIN/api/v1/products?page=1&per_page=25' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'X-Organization-ID: YOUR_ORGANIZATION_ID' 

What to replace in examples

PlaceholderYour value
YOUR_PANEL_DOMAINPanel hostname without https://
YOUR_STORE_SLUGStore identifier after /store/ in its URL
YOUR_API_KEYHoster private read API key
YOUR_ORGANIZATION_IDWorkspace ID from the examples in your cabinet