Postmark unsubscribe or reactivation notifications on your phone.
Get a low-priority push notification when someone unsubscribes from a Postmark message stream, or an address is suppressed or reactivated.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Postmark
Add it as a webhook for Subscription Change.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Postmark subscription change webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In Postmark, open your Server, pick the Message Stream (for example Default Transactional Stream) and go to its Webhooks tab.
- Click Add webhook and paste your webhook URL as the Webhook URL.https://••••••••/•••••••• your personal URL, shown after install
- Tick Subscription Change and save. Postmark checks that the endpoint answers before it starts sending.
- Webhooks in Postmark belong to one **Message Stream** of one **Server**, so add this webhook to each stream you want to watch. Unsubscribes mostly happen on broadcast streams.
- By default you get a push when:
- a recipient unsubscribes (Low priority);
- you suppress an address manually (Low) or Postmark does (Normal);
- an address is reactivated (Low).
- Suppressions caused by a hard bounce or a spam complaint are skipped, because the [bounce](../bounce/) and [spam complaint](../spam-complaint/) recipes already cover them. Add `?all=1` to the webhook URL to get those too:
- ```
- your webhook URL?all=1
- ```
- Postmark doesn't sign webhooks. It supports HTTP basic auth in the URL and custom headers, but JustPush doesn't check either yet, so keep your endpoint URL private. When you save the webhook, Postmark checks that the endpoint answers for each event type; that check may produce one test push.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Postmark SubscriptionChange webhook
This is what Postmark sends to your URL for subscription change. It is a sample, trimmed to the fields recipes use.
Postmark unsubscribe or reactivation notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Postmark and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Postmark on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.