Skip to main content
Instead of asking the API whether a post went out, let Postinger tell you. A webhook is a URL on your server that Postinger sends an HTTP POST to whenever something you subscribed to happens.

Set one up

1

Add an endpoint

In Postinger, open Webhooks and add your URL. It must be a public https:// address.
2

Choose events

Pick the events to receive. You can also limit the webhook to some accounts: it then only hears about posts to those accounts.
3

Copy the signing secret

It starts with whsec_. Use it to verify that each request comes from Postinger.
4

Send a test event

Send test event delivers a ping to your endpoint, so you can check it before real events arrive.
A workspace can have up to 10 webhooks.

What arrives

Every event has the same envelope. data holds the post or the account, as the API would show it at the moment of delivery.

Answer fast

Store the event, answer with any 2xx within 15 seconds, then do the work. A 2xx means you’ve taken the event: Postinger won’t send it again, so don’t answer before it’s stored. Anything else (another status, a timeout, a redirect) counts as a failure and is retried. The same event can arrive more than once. Use its id (also in the webhook-id header) to skip events you’ve already handled.