Documentation/API keys and permissions

HostPanel

API keys and permissions

Key creation

Create a named read key in Settings → Public API access.

Settings management permission, plan API access and the platform feature are required.

The secret is shown once and expires after a year.

Public catalogs need no key.

Request headers

Send private requests from your backend with Authorization: Bearer YOUR_API_KEY, Accept: application/json and X-Organization-ID: YOUR_ORGANIZATION_ID.

Keys are organization-bound; another ID grants no access.

Account permissions are also checked.

Read scopes

The workspace creates products:read, customers:read, orders:read and services:read.

They permit collection and detail GET requests for their resource.

The backend also accepts orders:write and services:manage subject to user permissions; workspace read keys do not receive them.

Access boundaries

Keys cannot access arbitrary endpoints: categories, prices, settings, platform administration and storefront checkout are outside their access.

Do not expose private customer responses on your website.

Replace expired or leaked keys and revoke the old key using the platform mechanism.

Key request example

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