# NudgeNudge > Send a push notification to your phone (iPhone or Android) with one HTTPS request. No account, no SDK: the phone's code is the address. Ask a question and get the tapped answer back. Approve sign-ins (2FA) by tapping a number. The contract is the docs page: https://nudgenudge.app/docs/ . The whole of it as Markdown, after this brief: https://nudgenudge.app/llms-full.txt . Machine-readable: https://nudgenudge.app/openapi.json (OpenAPI 3.1). When they and this file differ, the docs page wins. ## The essentials - Base URL: `https://api.nudgenudge.app` (HTTPS only; plain http is refused with 426). - A code is 12 characters like `D4RY-YY78-PNRS` (a phone's) or 9 like `PN3-U6X-MD2` (a group's: every phone in it). Dashes and case don't matter. It's the address and the only credential. - Push: `curl https://api.nudgenudge.app/{code} --json '{"from": "GitHub", "icon": "github.com", "body": "Deploy finished"}'` → `{"ok": true, "left": 4, "receipt": "…"}`. Only `body` is required. `icon` is a domain (we fetch its logo) or an https image URL. - Ask: add `"ask": ["Yes", "No"]` (up to 4 buttons) or `"reply": true` (typed answer). The request holds ~90 s for the answer (`{"answer": "Yes"}`), else replies 202 with `ask`; collect with `GET /ask/{id}?wait=60`. - Groups: a group's 9-character code rings every phone in it (up to 25; 100 on Unlimited Teams). The reply adds `name` (the group's name, as its maker named it in the app: send a first nudge when connecting a group and keep it) and `phones` (how many it went to), and `over`, `flooded`, `off` (phones past their free day, past the flood guard, with notifications off). An Ask to a group: the first answer wins. - Receipts: `GET /receipt/{id}?wait=10` → how many phones it reached (`phones`: those Apple or Google took the push for) and how many confirmed it arrived (`delivered`). - 2FA: show a two-digit number on your sign-in page, then `POST /2fa/{code}` `{"site": "Acme Admin", "number": 68}` → waits up to 60 s → `{"approved": true}` or `{"approved": false, "reason": "wrong_number" | "denied" | "expired"}` (an expired one says `delivered`). It is the second step: use it after the site's own first step (a password, or whatever it already checks), not instead of it. - Errors are `{"reason", "error"}`: branch on `reason` (stable, never renamed); `error` is a sentence for people. - Limits: 5 nudges a day per phone free (429 `daily_limit` after); Unlimited has a 1,000-a-day flood guard. 2FA is free and never counted. Replies to a phone carry `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`. - Safe retries: send `Idempotency-Key: ` and retry with the same key; you get the first reply again, never a second notification. A retried Ask still waiting gets its 202 ticket back; one whose first request already returned the answer gets `410 answer_collected` (answers aren't kept): treat it as no answer. ## Plans The person with the phone chooses; nothing changes in the API. Free: 5 nudges a day per phone (Push and Ask). Unlimited Solo (£2.99 a month or £24.99 a year): every nudge, a 1,000-a-day flood guard. Unlimited Teams (£9.99 a month or £99.99 a year): Solo, and every group made on that phone is unlimited for everyone in it (its nudges never count towards anyone's free five; up to 100 phones). The first week of either is free, once per person. NudgeNudge 2FA is free on every plan. ## Good uses - Tell me when a long job finishes or fails (builds, training runs, backups, cron jobs). - A person in the loop for an AI agent or a script: Ask before a deploy, a deletion or a payment, and only go ahead on the tapped answer. Treat anything but the expected answer (an error, `expired`) as no. - Tell a whole team: one group code, every phone. - Sign-in approval for an admin panel or internal tool (2FA), instead of an authenticator app. ## Pages - [Docs: every request, reply and error](https://nudgenudge.app/docs/) - [OpenAPI 3.1 spec](https://nudgenudge.app/openapi.json) - [NudgeNudge 2FA: sign-in by tapping a number](https://nudgenudge.app/2fa/) - [Everything on one page, as Markdown](https://nudgenudge.app/llms-full.txt) - [Status: is the API up](https://status.nudgenudge.app) (`/api` for JSON) - [Trust: what's stored, for how long, who else is involved](https://nudgenudge.app/trust/) - [Privacy](https://nudgenudge.app/privacy/) - [Data processing agreement](https://nudgenudge.app/dpa/) - [What's new in the app](https://nudgenudge.app/whatsnew/)