Skip to content

Get started / Overview

Overview

Push sends a native browser notification to a person with one HTTP request.

Push sends native browser notifications over the Web Push standard. Your server makes one HTTP request, and every browser the person connected shows the notification. There is no app to install, no phone number and no SDK.

How it works#

  1. Create a project in the dashboard. It holds your API keys and your recipients.
  2. Add a recipient: a name like ops or sara that stands for a person or a team.
  3. The person opens a connect link and clicks Enable notifications. Their browser is now connected to the recipient.
  4. Your server calls POST /v1/notifications with the recipient's name. Push creates one attempt per connected browser and hands each one to that browser vendor's push service.

Key ideas#

TermMeaning
ProjectOwns API keys, recipients and connect links. Push manages its sending keys for you. Usage is counted per account, across all its projects.
API keyA secret your server sends as a bearer token. sk_live_… keys send; sk_test_… keys validate and record but send nothing.
RecipientA named destination inside a project. You send to the name, never to a device.
BrowserOne browser on one device that a person connected to a recipient. A recipient can have several.
NotificationOne accepted POST /v1/notifications request.
AttemptOne notification to one connected browser. Attempts are what Push bills and what carry a status.

What Push can and cannot tell you#

Push learns that a browser vendor's push service accepted a message. It cannot learn that the notification appeared: the device may be off, muted or in Do Not Disturb. Clicks, action buttons and dismissals are reported by the browser itself, so those are certain. See Statuses.

Base URL#

Every API path in these docs is relative to this base URL. All requests use HTTPS and JSON.

⫻

base URL

https://api.meslzy.com/push/v1
NoteNotifications show as coming from meslzy.com, because that is the site the person allowed. That address never changes, so connected browsers stay connected.

Where to go next#