Docs
Sending to Honk! Honk! takes one endpoint, and this page covers all of it. The libraries, the CLI and the n8n node wrap the same request with retries and helpers, and the step-by-step guides set it up in WordPress, Home Assistant, cron and CI.
Quickstart
-
Get an account
Honk! Honk! is invite-only for now. Request access; the invitation arrives by email and you sign in with a 6-digit code.
-
Create a project and a key
In the web app, open Projects, create one, then open its Keys tab and create an ingestion key. The key (
honk_…) is shown only once, so save it somewhere safe right away. -
Send an event
Post JSON with the key as a bearer token. A
202means Honk! Honk! has saved the event.Terminal curl -sS https://honk-honk.app/v1/messages \ -H "Authorization: Bearer $HONK_KEY" \ -H "Idempotency-Key: backup-$(date +%Y%m%d)" \ -H "Content-Type: application/json" \ -d '{ "title": "Backup failed", "message": "pg_dump exited with 1", "severity": "long", "group_key": "db/backup", "event_type": "problem" }' # → 202 {"id":"msg_…","status":"accepted","duplicate":false,"received_at":"…"} -
Get the push
Install Honk! Honk! for iPhone and send a test with Honk me in the app’s Settings ▸ Notifications. Or enable notifications in the web app under Devices and click Send test.
The request
POST https://honk-honk.app/v1/messages with Content-Type: application/json and Authorization: Bearer <ingestion key>. Unknown fields are rejected with 422. The body can be up to 16 KiB.
Fields
-
message - The text, up to 8192 bytes of UTF-8 (longer is shortened); line breaks are kept. Send a
message, atitleor both: a title alone is enough. -
title - One line, up to 160 characters. Defaults to the first line of the message.
-
severity info,success,warning,error,critical, or the Honk scale nameslight,beep,loud,long,blast. Defaults toinfo.-
priority low,normal,highorurgent. Defaults tonormal.urgentfrom a key that doesn’t allow it becomeshigh.-
group_key - Optional. Events with the same key and environment form one group, whatever their source or channel. Without a key, events group by their title, ignoring the parts that change (numbers, times, IDs). Over 128 characters, the key is shortened.
-
event_type event,problemorrecovery. A recovery closes the open problem of its group.-
source,environment,channel - Up to 64, 32 and 64 characters. Defaults:
api,defaultandgeneral. -
category infrastructure,security,backups,deployments,payments,customers,sales,automation,personalorother.-
url - An
https://link shown as “Open link”, opened only when you tap it. -
image_url - An
https://image the server fetches and shows with the notification (up to 1 MB on Free, 5 MB on Pro and Team). -
actions - Up to 3 buttons in display order (the first is the main one), for example
[{"title": "Reply by email", "url": "mailto:[email protected]"}, {"title": "Call", "url": "tel:+12025550147"}]. A title has 1 to 40 characters; a URL starts withhttps://,mailto:,tel:orsms:and opens only when you tap its button. -
metadata - Up to 16 keys with string, number or boolean values. Rules can match on them.
-
occurred_at - When it happened at the source, as an RFC 3339 timestamp.
-
ttl_seconds - How long a push can still be delivered, from 60 to 86400 seconds. Defaults to 3600.
-
source_sequence - An increasing number per source, so a delayed recovery never closes a newer problem.
Responses
| 202 | Stored. { "id", "status": "accepted", "duplicate", "received_at", "warnings" }. warnings lists what Honk! Honk! corrected to deliver the event (for example a shortened title), [] when nothing. It doesn’t mean the event was pushed or read. |
|---|---|
| 401 | invalid_key: the key is wrong or revoked. |
| 403 | project_suspended or workspace_suspended. |
| 409 | idempotency_conflict: the same key was used with a different payload. |
| 413, 415, 422 | Over 16 KiB, not JSON, no message and no title, an unknown field or an unknown event_type: error.fields lists every problem. Anything else is corrected and accepted, with warnings. |
| 429 | quota_exceeded (the daily message limit) or rate_limited, with Retry-After. |
| 503 | Honk! Honk! can’t confirm right now that the event was saved safely. Retry with the same key after Retry-After. |
Retrying safely
Send an Idempotency-Key header (up to 128 printable ASCII characters) that stays the same for the same event, for example deploy-4812-finished. Within 24 hours, the same key with the same payload returns the original id with duplicate: true; the same key with a different payload is a 409. Retry only network errors, 429 and 5xx, and honor Retry-After. The official libraries do all of this for you.
Severity and the Honk scale
Each level has a standard name and a Honk name, after the sound it makes. The apps show the standard names unless you turn on Honk names for levels in Settings, and the API accepts both: error and long mean the same thing, and Honk! Honk! stores the standard value, so they count as the same for idempotency too. The level decides how loud it is: warning and error arrive with high priority, and critical arrives as a time-sensitive notification that breaks through Focus.
| Info · Light | info · light |
|---|---|
| Success · Beep | success · beep |
| Warning · Loud | warning · loud |
| Error · Long | error · long |
| Critical · Blast | critical · blast |
Concepts
Reference
- The API for sending events, as an OpenAPI 3.1 document (
openapi.yaml) - A plain-text map of these docs for coding assistants (
llms.txt) - The libraries’ READMEs on GitHub: Node.js , PHP / Laravel , Go + CLI , Swift , Kotlin / Java , Rust , n8n
Only the API for sending events is public. The rest serves the Honk! Honk! apps and may change between versions.