1.
Sign in to Fodista Back Office with an account that can manage integrations.
2.
Search for: Public API Access.
3.
Click New to create a record.
4.
Name your integration (e.g., “Storefront — Production”).
5.
Scopes: select one or more of:Invoice History — read POS invoice summaries.
Public Menu — read categories and products (use visibility=public).
Online Ordering — carts & checkout (use visibility=online).
6.
Data Access (recommended):Restaurant Brand / Branch: select the brand/branch the token is allowed to access.
Online Store: if you’ll use ordering, select the exact store this token may operate on.
7.
Network Allowlisting (strongly recommended):Whitelisted IPs: add fixed IPs that are allowed to call this token.Examples: 198.51.100.0/24, 198.51.100.8
Whitelisted Domains (Origins): add HTTPS origins that can use this token from browsers.https://storefront.example.com
https://staging.storefront.example.com
If you use a CDN (e.g., reverse proxy), prefer domain allowlisting for browser apps and IP allowlisting for server-to-server.
10.
Copy the generated token and store it securely (treat it like a password).
200 — Success (payload shape varies by endpoint; see OpenAPI schemas).
401 — Missing/invalid token (check header, rotation, or allowlists).
403 — Token is valid but the scope/data is not permitted (check scopes, visibility, brand/branch/store).
404 — Resource not found (e.g., coordinates did not resolve in get-address).
Treat tokens as credentials. Do not embed them in public frontends or logs.
Use IP allowlists for server-to-server integrations.
Use domain (origin) allowlists for browser apps; keep HTTPS and HSTS enabled.
Prefer least privilege: assign only the scopes your integration needs.
Rotate tokens periodically and after personnel changes.