API v1 foundation

Developer documentation for Serveon integrations

The current external API is a secure foundation for tenant-scoped integrations. Start with the health endpoint, wire up key management, and use the documented scopes to plan upcoming menu, order, table, service request, and notification workflows.

Tenant-scoped API keys

Authenticate with `Authorization: Bearer` or `X-API-Key`; tenant identity is resolved from the key, not request payloads.

HMAC-hashed secrets

Raw API key secrets are never stored. Persisted hashes are derived with `API_KEY_PEPPER`.

Rate-limit headers

Responses expose fixed-window limit, remaining, and reset headers for integration backoff logic.

Quick start

Verify an API key with `/api/v1/health`

This is the currently implemented public endpoint. It validates the key, resolves the tenant, writes an audit row, and returns rate-limit metadata.

Full endpoint reference
curl
curl -H "Authorization: Bearer sk_test_<keyId>_<secret>" \
  https://your-domain.com/api/v1/health