For teams whose API serves iOS, Android and web apps
Block a broken app release from your API in seconds
When an app release ships with a bug that costs money, your API refuses that release on the endpoints that cause harm.
Every other version
keeps working
upforcer refuses the broken release on the endpoints that cause harm.
Other versions, other endpoints and your next deploy carry on as before.
A mobile release cannot be rolled back, but your API can still refuse it
Apps on phones and old browser tabs keep calling your API until each user updates.
Find the business closest to yours
The companies are invented.
ACME Eats charges dinner twice
Payment calls lost their idempotency key when a retry helper was added.
In the dinner rush, timeouts are normal. Every retry is a new charge, and forty customers write in within fifteen minutes.
Ruleblock payOrder · android 4.7.2
ACME Tickets sells the same seat twice
A refactor dropped the seat hold before the purchase call.
At an on-sale, two buyers buy the same seat in the same second, hundreds of times.
Ruleblock createOrder · ios 4.7.2
ACME Rides gives every ride away cheap
Promo eligibility moved into the app, reading a flag that never clears.
The API trusts what the app sends, so the first-ride discount lands on every trip.
Ruleblock applyPromo · android 4.7.2
ACME Games grants gems for ads nobody saw
The reward call moved out of the success branch.
Ads that fail to load still grant premium gems, and the gem market starts to fall within the hour.
Ruleblock claimReward · android 4.7.2
ACME Wallet sends withdrawals nowhere
A debug override reached the production build.
Withdrawals are signed and broadcast correctly, to addresses nobody holds the key to.
Ruleblock createWithdrawal · ios 4.7.2
Your API checks each request in 3 µs, without calling us
Each request names its release, and your API checks it against signed rules it already holds.
- 01Your app names its release
The client SDK adds a release header to every request.
- 02Your API checks it in memory
The middleware compares it with signed rules in memory. There is no call to us.
- 03You block a release
Upforce it from the dashboard, the CLI or Slack. Every instance has the rule within seconds.
- 04That release gets an update screen
Only the blocked release on the blocked endpoint gets a 403. Every other version keeps working.
Read the open protocol on GitHub: the release header, the 403 response, the preview and the rule pull.
Support spots it, the on-call engineer blocks it, everyone goes back to dinner
upforcer blocks the release from the same thread and confirms when every instance is in sync.
- MS
Maya Support · 18:55
Forty "charged twice" tickets in fifteen minutes. All from Android.
- TR
Tomás On-call · 18:57
Found it. 4.7.2 retries
payOrderon timeout without an idempotency key. Blocking it until the fix ships./upforcer block payOrder android 4.7.2 upforcer APP 18:57
Draft rule r_42: block
payOrderfor Android 4.7.2 in prod. Preview: about 310 requests an hour match, all from Android 4.7.2. It is under the blast-radius limit, so no second approver is needed.UpforceCancel
Tomás blocked Android 4.7.2. All 6 instances in sync in 3.1 s. People on Android 4.7.2 now see "Update to 4.7.3 to order."
- MS
Maya Support · 19:04
Tickets stopped. Refunding the forty now.
- PK
Priya Payments · 21:30
4.7.3 is live with the idempotency key. Keep the block on. People will reopen 4.7.2 for months.
upforcer APP 21:30
Rule r_42 stays on. Anyone who opens 4.7.2 later, even months from now, gets the update screen instead of a double charge.
Create a project, add two libraries, done
Your dashboard lists the live versions before you write a single rule.
- 1
Create a project
Sign in, name the project and copy its key into your API's environment.
UPFORCER_PROJECT=wallet UPFORCER_KEY=uf_sk_…
- 2
Add the middleware to your API
It reads the release header and decides in your process. Name the endpoints you may want to block.
// npm i @upforcer/hono app.use(upforcer()) app.post("/orders/:id/pay", upforcer.operation("payOrder"), payOrder)Also Express, Fastify, Next.js, NestJS, Go and Python.
- 3
Add the SDK to your app
It names the release on every request and shows the update screen on a refusal.
// Swift Package Manager Upforcer.configure( service: "wallet")Also web and Kotlin.
One SDK in your API, one in your app
Both are Apache 2.0 at github.com/upforcer.
Server SDKs
Read the release header, decide in your process, refuse with a 403 and the decision header.
Coming soon: Rust, JVM, .NET, PHP and Ruby.
Client SDKs
Send the release header on every request, and turn a refusal into an update screen or a typed error.
Runs on Vercel, Fly, Render, Railway, Cloudflare and AWS Lambda.
What teams ask before they install it
How is this different from a force update check in the app?
Keep it, but it only exists in builds that shipped with it, runs at launch and locks the whole app. upforcer refuses the broken release on its next request, only on the endpoints that cause harm, and covers open web tabs too.
Can we build this with a WAF rule or a feature flag?
The first version takes an afternoon. Then rules must be per operation, some instances keep the old rule, and users see generic errors. A quarantine is all or nothing for one release, and it holds when the client is the broken part.
Is upforcer an API gateway or a kill switch?
Neither. A gateway is a network hop for auth, rate limits and routing. A kill switch turns a feature off for everyone. upforcer is a library inside your handler that refuses one app version on the endpoints you name and keeps serving the rest.
What happens if upforcer goes down? Does it slow my API?
Nothing on your request path depends on us. The middleware decides in about 3 µs inside your own process, from signed rules it already holds. If our servers go down, your API keeps those rules and keeps serving.
- 01Per-version rulesMatch one app version, platform and environment.
- 02Per-endpoint blockRefuse only the operations that cause harm.
- 03Instant previewSee what a draft would hit before you Upforce.
- 04Seconds to every instancePer-instance status shows which instance runs which rule.
- 05RFC 9457 update screenThe 403 carries what the app should show.
- 06Unlimited requestsThe decision runs in your process. Volume is never metered.
Unlimited requests on every plan
Plans are priced on what the control plane does for you, never on traffic.
- Core rules and preview
- 1 project, unlimited requests
- Rule status for up to 5 instances
- 7-day audit log
- Unlimited projects and environments
- Hosted attestation
- Approvals and alerts
- 90-day audit log
- Everything in Pro
- SSO and SIEM export
- 1-year audit log
- Self-serve, no sales call
- Dedicated control plane
- Your own domain, like rules.yourcompany.com
- Bring your own signing keys
- SLA
Install it before the release that needs it
The middleware goes into your API in minutes.
$ npm i @upforcer/hono
$ go get upforcer.dev/go
$ pip install "upforcer[fastapi]"
upforcer is release quarantine for mobile and web apps. A broken release stays away from your money until the fix is in the store.