Authorization header containing a valid token.
Token types
LoyaltyDog issues two token shapes:Multi-tenancy
All resources are scoped to aprogramId. Tokens are bound to a merchant; the API rejects any request that targets a program your token does not own. This program-based isolation is enforced server-side — there is no client-side filtering to bypass.
MFA on user logins
End-user authentication (for example, merchant staff signing into the dashboard) supports TOTP-based MFA via the/v2/token/mfa/* endpoints. Programmatic API access uses tokens directly and does not require MFA.
Rotating tokens
Treat tokens like passwords. To rotate:- Issue a new token (via the dashboard or
POST /v2/appkeys). - Deploy the new token to your services.
- Revoke the old token.
Common errors
Next steps
Quickstart
Walk through your first authenticated request.
API reference
Browse every endpoint and schema.
