Membership Required
Signing shortcuts requires a RoutineHub Membership. Upgrade now to unlock shortcut signing.
Unlock Today
Signing shortcuts requires a RoutineHub Membership. Upgrade now to unlock shortcut signing.
Unlock TodayYour paid shortcut asks RoutineHub one question when it runs: did this person buy me? Four actions. One address. No server of your own.
Every RoutineHub account has a Proof of Purchase key at
Settings › API Key, right under the developer API key.
It starts with rh_pop_ and is 23 characters long (keys made before 9 Oct 2026 are 47 and still work).
It can answer yes or no about that account's purchases
and nothing else: it cannot publish, price, or unpublish anything.
Never ask a buyer for their developer API key. That key can rewrite their listings. If someone pastes it into your shortcut by mistake, the address below refuses it and tells them which key to paste instead.
A buyer can regenerate their key any time. Purchases belong to the account, not the key, so the new key still proves everything they ever bought. Your shortcut only has to ask for it again.
POST https://routinehub.co/api/v1/proof-of-purchase/verify,
header X-RH-Proof = that text, JSON body with one field, shortcut = your listing's number
(the one in routinehub.co/shortcut/7388/).ok.ok is not true — Show Result with the error field,
Open URL with buy_url, Stop. Otherwise carry on with your shortcut.
Shortcuts cannot read an HTTP status code, so every answer carries ok, and every refusal
carries an error sentence written to be shown to the buyer as-is.
| Bought | 200 {"ok": true, "shortcut": 7388, "kind": "one_time", "status": "active", "purchased_at": "2026-10-01T18:04:11+00:00", "expires_at": null, "uses_left": null, "subject": "k9d2…"} |
|---|---|
kind | one_time · subscription (with expires_at) · trial · uses (with uses_left) · free (your listing has no price) · author (it is you) |
status | active on every yes; on a no, cancelled or expired (with purchased_at and ended_at) when there was a purchase, else none |
| Not bought | 402 {"ok": false, "error": "No purchase of … found on this account.", "status": "none", "buy_url": "https://routinehub.co/shortcut/7388/"} |
| Ran out | 402 {"ok": false, "error": "Your access to … ended on Oct 1, 2026.", "status": "expired", "purchased_at": "2026-09-01T…", "ended_at": "2026-10-01T…", "buy_url": "…"} |
| Bad key | 401 {"ok": false, "error": "That Proof of Purchase key is not valid. Copy it from routinehub.co/settings#api."} |
| Developer key by mistake | 400 {"ok": false, "error": "That is your developer API key. Paste your Proof of Purchase key instead. …"} |
| Too fast | 429 with Retry-After. One check per run is far inside the limits. |
subject is a pseudonym for this buyer on your shortcut: the same every run for that
person, different on every other shortcut, never their username, unchanged when they regenerate the key.
Count your users with it. You learn nothing else from it, by design.
On your listing's Pricing card, pick Pack of uses: the buyer pays once for a set number of runs.
In your shortcut, call POST https://routinehub.co/api/v1/proof-of-purchase/use instead of
…/verify, with the same header and body plus a run_id of your own (any text up to 64
characters, unique per run). Each new run_id spends one run and the answer carries uses_left.
The same run_id sent twice spends nothing, so a retried run is never charged twice.
When the pack is empty the answer is a 402 with buy_url, and the buyer can buy another pack.
For one-time and subscription purchases …/use answers exactly like …/verify.
402 by itself.
Shortcuts built before this page may check /api/v2/premium/validate/ or
/api/v2/access/check/ with a per-purchase key. Those still work and will keep working.
New shortcuts should use the Proof of Purchase key: one key per buyer, for every shortcut they buy.
Machine-readable: /v1/openapi.json · /llms.txt