unauthenticated
Status 401. No usable API key was presented.
What it means
No usable key came with the request. A missing, mistyped, unknown or revoked key, and an old secret after its rotation window has closed, all get this same answer, on purpose: the differences would tell someone guessing keys how close they came.
What to do
Check that the Authorization header holds Bearer and then the whole key. After a rotation, use the new key.
Safe to send again?
Not as it is. Change what the answer points to, then send the request.
Where you can meet it
GET /me: The account this key belongs to, its stores, and the key's own scopesGET /stores: Every store on this accountGET /stores/{store_key}: One storeGET /stores/{store_key}/programme: A store's programme: what is stored, the settings in force, what shoppers are actually paid, and the expiry rulePOST /stores/{store_key}/programme: Change the earn rate, the bonuses, what a point is worth, referrals, spending any amount, the time zone, the ways to earn, or when points expireGET /stores/{store_key}/programme/rewards: The rewards a shopper can spend points on at this storePOST /stores/{store_key}/programme/rewards: Add a reward shoppers can spend points onPOST /stores/{store_key}/programme/rewards/{reward_id}: Change a reward's cost, value, minimum order or labelPOST /stores/{store_key}/programme/rewards/{reward_id}/remove: Remove a rewardGET /stores/{store_key}/programme/offers: A store's offersPOST /stores/{store_key}/programme/offers: Add an offer: a campaign, a product offer or a channel offerPOST /stores/{store_key}/programme/offers/{offer_id}: Change an offerPOST /stores/{store_key}/programme/offers/{offer_id}/remove: Remove an offerGET /stores/{store_key}/programme/rules: The earn rules in force at this storeGET /stores/{store_key}/design: A store's design: the colours, words and look of the rewards panel, the product-page line and the account pagePOST /stores/{store_key}/design: Change the design: colours, words, the panel and product-line look, the account page layout, the terms linkGET /members: Shoppers on this accountGET /members/{member_key}: One shopper's recordGET /members/{member_key}/codes: The reward codes this shopper holdsPOST /members/{member_key}/adjustments: Add points to a member's balance, or take them awayPOST /members/{member_key}/codes/void: Cancel a reward code and give the member back its pointsGET /ledger: Every points movement on this account, newest firstGET /reports/liability: What this account owes its shoppersGET /reports/settlement: Points earned at one store and spent at another, inside a windowGET /usage: Orders that earned points this billing month, against the plan's capGET /plan: The subscriptions recorded for this accountGET /audit-log: What every key changed, and what it was shownGET /keys: The API keys on this accountPOST /keys/self/revoke: Stop the key making this request, immediatelyGET /webhooks: The webhook endpoints on this account, and why any stoppedPOST /webhooks: Send points movements to an https endpointDELETE /webhooks/{endpoint_id}: Stop sending to an endpointPOST /webhooks/{endpoint_id}/test: Send one signed test event nowGET /stores/{store_key}/brand: A store's name and branding as the Matrix Rewards website shows them, and what Shopify hasGET /stores/{store_key}/images: The pictures uploaded to a store, newest firstPOST /stores/{store_key}/images: Upload a picture for the store's branding (a logo, a square logo, a cover)
Every code, and the shape of an error answer: Errors.