Demo

In order to start receiving notifications, please download the Booper app first:

Notify a public channel

First, open the Booper app and subscribe to the "demo" channel to start receiving push notifications.

(Note that push notifications need to be enabled in your phone settings in order to receive them.)

Run the code to the right in your terminal, or enter a message below and click "Send" to trigger a notification to the public "demo" channel.

curl -X POST \
"https://push.booper.dev/api/notify" \
-d channel='demo' \
-d body='Hello world!'

Notify a private app channel

First, open the Booper app and subscribe to the "Demo" app to start receiving push notifications.

In order to subscribe to private apps, you need to enter an access code:

Run the code to the right in your terminal, or enter a message below and click "Send" to trigger a notification to the "random" channel in the Demo app.

# We have to pass in the API key for the Demo app
curl -X POST \
"https://push.booper.dev/api/notify" \
-H "Authorization: Bearer d3cd3ac3-2a86-45b8-a44e-0ce177bbc430" \
-d channel='random' \
-d body='Hello world! This is a test.'
© 2024 Booper, Inc.