pushdo

Notifications you can answer

Send a message to your phone with one curl. Or send a question: your script or AI agent waits, you tap an option, and the answer comes back as the response to the same request. No account, no SDK.

Ask a question

This page is listening to the topic your-topic, made just now for you. Run the command in your terminal or press Run, then answer in the feed, as you would on your phone.

Terminal
curl https://push.do/your-topic/ask -d '{
  "question": "Deploy to production?",
  "options": ["Deploy", "Wait"]
}'

Send a notification

Most messages need no answer: a build finished, a user signed up. Title, priority and tags go in headers, as in ntfy, so ntfy scripts usually need only the new host.

Terminal
curl -H "Title: Build 4812 passed" -d "312 tests, 0 failed" https://push.do/your-topic

Wait as long as it takes

One request waits up to 90 seconds. If the answer is not there yet, it ends with 202 and the question's id; wait for the same question again, as many times as needed. A question expires after 24 hours.

Terminal
curl "https://push.do/your-topic/ask/<id>?wait=90"

Let your AI agent ask you

Claude Code, or any agent that can run shell commands, can ask on your phone when it needs a decision, and go on with your answer.

  1. Anyone who knows the name can read the topic and answer its questions.

  2. Subscribe to it

    Open your-topic in the web app on the device that should get the questions, add the topic to your list and turn on notifications. On an iPhone, first add the web app to the Home Screen (Share, then Add to Home Screen), open it from there and add the topic by its name.

  3. Paste this into your project's CLAUDE.md

    It works as the instructions of any other agent too.

CLAUDE.md
## Asking me questions

When you cannot go on without a decision from me (choosing between approaches,
confirming something destructive or hard to undo, missing information), ask on
my phone through push.do instead of stopping:

```sh
curl -s https://push.do/your-topic/ask -d '{"question": "Short question", "body": "What I need to know to decide", "options": ["first", "second"]}'
```

- Give 2 to 6 short options (40 characters at most). I can also reply in my own words.
- The command waits up to 90 seconds for my reply.
- `"status": "answered"`: `answer` is my reply. Go on with it.
- `"status": "pending"` (HTTP 202): no answer yet. Do not ask again; wait for the
  same question with `curl -s "https://push.do/your-topic/ask/<id>"`, where
  `<id>` is the `id` from the response, and repeat while it is pending. Each
  wait takes up to 90 seconds. Work that does not depend on the answer can be
  done first.
- `"status": "expired"` (HTTP 410): the question is older than 24 hours. Ask
  again if it still matters.
- Never put secrets in a question: anyone who knows the topic can read it.

Where it arrives

Any browser
In the web app you read topics, answer questions and get notifications on Android, Mac, Windows and Linux. In Chrome and Edge a question with two options has its buttons right in the notification.
iPhone
Today: the web app, added to the Home Screen from Safari (iOS 16.4 or later). The iPhone app, which answers from the notification itself, is in testing and not in the App Store yet.

Good to know

No accounts
A topic exists from the first message sent to it. There is nothing to sign up for.
Topics are open
Knowing the name is the only key, so never put secrets in a message.
Kept for 7 days
Messages, questions and answers are deleted after a week.
Limits
A message is up to 4096 bytes. A question has 2 to 6 options of up to 40 characters each, and can also take a reply in your own words. The rest is in the docs.