API Reference

Setup

2 endpoints
post/api/v1/console/setup

Create setup

Create the organisation, the first branch, the owner, their membership, the warehouse and kitchen books, and a dine-in channel — in one transaction.

Auth
No credential needed.

Request body

application/json
{
  "organizationName": "string",
  "branchName": "string",
  "baseCurrencyCode": "string",
  "ownerName": "string",
  "ownerEmail": "string",
  "ownerPassword": "string",
  "confirmPassword": "string"
}
organizationName
string
—
branchName
string
—
baseCurrencyCode
string
The <b>functional</b> currency — the one this branch keeps its books in. Changing it after the first posting is a migration, not a setting, which is why it is asked for here.
ownerName
string
—
ownerEmail
string
—
ownerPassword
string
—
confirmPassword
string
Typed twice, because there is no "forgot password" on the very first account.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/setup" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "organizationName": "string",
  "branchName": "string",
  "baseCurrencyCode": "string",
  "ownerName": "string",
  "ownerEmail": "string",
  "ownerPassword": "string",
  "confirmPassword": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/setup/status

Whether this install still needs its first owner, and which currencies it may use

The login screen calls it to decide whether to redirect to setup.

Auth
No credential needed.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/setup/status" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu