Typestate
Sign in
Web Push

Works with Typestate. Built into Typestate.

Web Push

Notify a person in their browser or installed web app, on every device.

Turn on browser notifications for my backend on Typestate.

Web Push is on, through set_push.

Notify a person

Your key goes on the cockpit, never through me.

Ready on Sandbox after the next deploy.

What your agent does with this integration

What it does for a business

  • An action says "notify the signed-in person: 'Your class starts in 1 hour'"
  • One person, many devices: each gets it, and a dead one never stops the others
  • No keys to make: the platform holds them

Writes

What an action of your backend asks Web Push to do.

DoNotify a personSends a notice to every device the person registered. A person with no device is not an error.
ParameterTypeNeededWhat it is
totextyesThe person's account id.
titletextyesThe notice's title.
bodytextyesThe notice's text.
datajsonnoAnything the app reads when the notice is opened.

What it answers, for example

{
  "devices": 2,
  "notification": "ntf_9e"
}

What it cannot do yet

  • A person must allow notifications in their browser first.

Add Web Push to your backend

Your page asks the person once.

Turn on browser notifications for my backend on Typestate.Open an account

More notifications and related integrations

Made by Typestate, and not by Web Push. Web Push does not endorse Typestate. Web Push's own site