Webhook Subscriptions
Subscribe to events and receive webhooks at your URLs
Reduce delays, eliminate repetitive tasks, and keep your external tools perfectly in sync with Postsale.
Subscribe to webhook events to extend your workflow beyond Postsale by sending real-time data directly to your systems or third-party applications. Receive instant notifications the moment an event occurs, like when an order is imported, a label is created or voided, or a tracking status is updated, without manually checking for updates or relying on scheduled data pulls.
This article will walk you through subscribing to webhook events in Postsale.
Before We Begin
Before creating a webhook subscription in Postsale, make sure you have the following in place:
- A publicly accessible webhook URL This is the endpoint where Postsale will send event data.
- A destination endpoint that can receive HTTP requests Your system should be able to accept and process incoming webhook payloads.
- Webhook validation logic (if using a signing secret) If you enable a signing secret, prepare your internal logic to validate incoming requests using HMAC-SHA256.
- A defined list of events to subscribe to Identify which events you want Postsale to send to your webhook.
Good to Know
- When a webhook subscription is created, Postsale sends event data to the URL you provide.
- If a signing secret is enabled:
- Each request includes an
**X-Webhook-Signature**header. - The signature is generated using HMAC-SHA256.
- Each request includes an
- Be sure to copy and securely store your signing secret when it is first displayed. It will not be shown again.
Subscribe to Postsale Webhook Events
On this page
Related