X-API-Key header.
There are no OAuth flows, bearer tokens, or session cookies on this surface.
Creating an API key
- Sign in to VoucherGrid.
- Open Developer → API keys.
- Click Create key, choose the scopes you need, and copy the full key value. The full key is shown once – store it in a secret manager immediately.
Key format
API keys are issued in two formats:
The first 12 characters (the prefix) appear in the dashboard for identification – the rest of the key is never recoverable after creation.
Sending the key
Include the key in theX-API-Key header on every request:
Authentication failures
Tenant scoping
Every API key belongs to exactly one tenant. All reads and writes performed via the key are automatically scoped to that tenant – you cannot read or modify another tenant’s data, and there is no tenant ID parameter to override.Location-scoped keys
A key may optionally be scoped to a single location. When that is the case:- Voucher list/get/redeem operations only see vouchers at that location.
- Voucher creation forces the new voucher to that location. Passing a different
location_idin the request body returns403 Forbidden.