Guide

How to send notifications to pushme and how subscribers receive them.

How it works

Public devices are listed in the catalog and anyone can subscribe. Private devices are available only by invitation (a link or a QR code), which can be limited to some branches, a period and a number of subscribers.

Quick start

  1. Sign up in the dashboard and confirm your e-mail.
  2. Create a device. Copy the key dev_… — it is shown once (later it can only be reissued).
  3. Send your first event:
curl -H "Authorization: Bearer dev_…" -d "Hello from the server" https://put.pushme.tech/v1/publish/test
  1. Subscribe yourself: in the dashboard, Invitations tab, create a link and open it on your phone (or scan the QR code with the camera).
  2. Ready-made settings for Grafana, Prometheus, Uptime Kuma, Zabbix, Home Assistant, cron and Python are on the Integrations page.
Devices and scripts use only https://put.pushme.tech. Pass the key in the Authorization: Bearer dev_… header or, if the system cannot set headers, as ?token=dev_….

Sending events

POST https://put.pushme.tech/v1/publish with JSON:

curl -X POST https://put.pushme.tech/v1/publish \
  -H "Authorization: Bearer dev_…" -H "Content-Type: application/json" \
  -d '{"path":"security/door/open","title":"Door","text":"Front door opened","priority":"high"}'

Or the short form — branch in the URL, text in the body, the rest as parameters:

curl -H "Authorization: Bearer dev_…" -d "Front door opened" \
  "https://put.pushme.tech/v1/publish/security/door/open?title=Door&priority=high"
FieldMeaning
pathBranch: up to 8 parts separated by /, each of lowercase Latin letters, digits, _ - . Default general.
titleTitle, up to 64 characters. If empty — the branch or device name.
textText, up to 512 characters.
prioritylow (silent) · normal · high · critical.
value, unitA numeric reading and its unit: 23.5, °C. Subscribers can set conditions on it.
collapse_keyA new message with the same key replaces the previous one in the feed and notifications.
ttlHow many seconds the message stays relevant; until then new subscribers get it too.
ack, repeat, escalate, resolveAcknowledgement, repeats and escalation — see below.
i18nTranslations: {"ru": {"title": "Дверь", "text": "Открыта входная дверь"}}. Subscribers see their interface language.
Non-ASCII characters in the URL (such as “°”) must be percent-encoded: %C2%B0C instead of °C. curl does it for you with --url-query "unit=°C" (curl 7.87+); the request body needs no encoding.

URL parameters: path, title, priority, ttl, collapse_key, value, unit, ack=1, repeat, escalate, resolve; headers X-Title, X-Priority, X-Collapse-Key. Response: {"id", "path", "recipients"}.

Branches and the event tree

Branches appear on first use. Give them readable names in the dashboard (Event tree tab) or describe the tree in advance:

curl -X PUT https://put.pushme.tech/v1/schema -H "Authorization: Bearer dev_…" \
  -H "Content-Type: application/json" \
  -d '{"nodes":[{"path":"climate","title":"Climate","icon":"🌡","i18n":{"ru":"Климат"}},
               {"path":"climate/temp","title":"Temperature","i18n":{"ru":"Температура"}}]}'

A branch emoji (icon) is put before the title of every message in that branch and the ones below it: “🌡 Temperature”. It shows in every channel — the app, the browser, Telegram and the lock screen. It can also be set in the dashboard, Event tree tab.

A device icon is uploaded in the dashboard (Settings tab): subscribers see it next to the device name and in browser notifications. Without one, a letter on a coloured background is shown.

The request only adds to the tree and never deletes anything, so it is safe to repeat on every start. A subscription to a branch includes all branches below it, including ones that appear later.

Mandatory branches ("required": true in the schema or “Make mandatory” in the dashboard): subscribers cannot switch them off, snooze them or move them to a digest or silence — neither the branch nor a branch above that contains it. Use it for fire and alarms that must not be “forgotten”. A subscriber can always unsubscribe from the whole device.

How subscribers receive messages

A subscriber’s feed always contains everything from their branches. How notifications arrive is up to the subscriber, per branch:

Readings and conditions

If you send numeric readings in value, a subscriber can be notified only on a condition rather than on every value: above or below a threshold, on any change, or on a change by a given amount.

curl -H "Authorization: Bearer dev_…" -d "" --url-query "unit=°C" \
  "https://put.pushme.tech/v1/publish/climate/temp?value=31.5&collapse_key=temp"

If text is empty it is made from the value: “31.5 °C”.

Acknowledgement and escalation

For alarms that must not be missed add ack. The message repeats every repeat seconds (180 by default) until someone taps “Got it”. If nobody acknowledges within escalate seconds (300 by default), it goes to the next line of subscribers (set in the invitation). resolve — after “Got it”, a “Fixed” mark is required within the given time, otherwise it escalates again.

curl -X POST https://put.pushme.tech/v1/publish -H "Authorization: Bearer dev_…" \
  -H "Content-Type: application/json" \
  -d '{"path":"security/leak","title":"Leak","text":"Kitchen","priority":"critical","ack":true,"escalate":600}'

Who acknowledged and when: GET https://put.pushme.tech/v1/messages/{id}.

Alarm panels: Contact ID

Alarm and fire panels and communicators that speak SIA DC-09 (Contact ID over IP) — for example Bolid С2000-PGE — send events straight to pushme: no server or scripts of your own. In the dashboard open the device → Contact ID → Turn on: pushme issues an account number. In the panel set the address put.pushme.tech, the port from the dashboard (UDP or TCP), the protocol SIA DC-09 / Contact ID and this account.

SIA DCS (beta). If the panel sends two-letter SIA codes instead of Contact ID ("SIA-DCS"…[#1234|Nri1/BA501]), pushme takes them too — the same way, with the same account, key and link check. Codes go to the same branches (FA — Fire; BA, PA, WA… — Alarms; AT, YT, FT… — Troubles; OP/CL — Arm/disarm), restores (BR, FR, …) close the original alarm, tests RP/RX only check the link, an unknown code goes to Service with the code in the text. The parsing is checked on the standard's reference frames, not yet on a real panel: if yours sends SIA DCS, write to us — the intake log lets us take its quirks into account quickly.

pushme is not a central monitoring station: it notifies people, dispatches nobody and does not replace a contract with a security company.

QR points: report a problem

For public places: create a QR point in the dashboard (e.g. “Restroom, 2nd floor”) and print the sign. A visitor scans the code and reports a problem without an account; staff get an alarm with “In progress” and “Fixed” buttons. Repeated reports of the same problem are merged; overdue ones go to the manager.

Moderation

What everyone sees may be reviewed by pushme administrators before it is published. Reviewed:

Private devices are usually not reviewed. Device messages do not wait for moderation and are delivered at once — the provider is responsible for them (Terms, section 7). The status of a request is shown in the dashboard on the device card and under “Account”. You get an e-mail with the decision; if the changes are declined, the dashboard shows the reason — fix it and save again. A review usually takes no more than a day. Changes by verified (“trusted”) providers are published at once.

Limits and errors

Free plan limit
Devices per account3
Messages per device300 per day and 60 per minute
QR points per account10
Subscribers per device200
StatusReason
401Wrong device key. Check a key: GET https://put.pushme.tech/v1/device.
403The device is blocked or a limit is reached.
422Invalid data: bad branch, text too long, etc. The reason is in detail.
429Too often: more than 60 messages per minute or 300 per day.

Error texts follow the Accept-Language header or ?lang=ru|en.

API reference

All methods with examples and a “Try it out” button are in the API reference (OpenAPI: /api/openapi.json).