Docs

Everything bonk does fits on this page.

Your URL

The app shows your URL: https://trybonk.com/to/b_…. The part after /to/ is your secret. Treat it like a password. If it leaks, tap Regenerate URL in the app and the old one stops working immediately.

Send a notification

POST to your URL. The body becomes the notification text:

POST https://trybonk.com/to/<secret>
curl -d "deploy finished" https://trybonk.com/to/b_YOUR_SECRET

Send JSON to set a title or attach a link:

curl https://trybonk.com/to/b_YOUR_SECRET \
  -H "Content-Type: application/json" \
  -d '{"title":"CI","body":"main is green","url":"https://github.com"}'

Without Content-Type: application/json, the whole body is the notification text and the title is “bonk”. Title, body and url together must stay under 3,500 bytes, and requests are capped at 16 KB.

Urgent bonks

Mark a bonk urgent and iPhones deliver it as Time Sensitive: it breaks through Focus and stays on the Lock Screen for an hour. It doesn't override the mute switch. Add "urgent": true to JSON, or ?urgent=1 to the URL:

curl -d "prod is down" "https://trybonk.com/to/b_YOUR_SECRET?urgent=1"

Each person can turn Time Sensitive off for bonk in iOS Settings → Notifications → bonk. Save it for things that really can't wait.

Send to several phones

Separate secrets with commas, up to 20 per request:

curl -d "server down" https://trybonk.com/to/b_FIRST,b_SECOND,b_THIRD

Unknown secrets are skipped. The response tells you how many phones accepted it.

Responses

Limits

Each phone accepts 60 notifications per minute. When you send to several phones, any phone over its limit is skipped; you get 429 only when all of them are. Requests with unknown secrets are limited to 30 per minute per IP address.

Examples

Copy-paste recipes for JavaScript, Python, Go, CI, cron and AI agents are in the Guides.

Using bonk from scripts and agents