Top.Mail.Ru
Webhook Notifications — Publications | Postmypost — Postmypost

Webhook notifications for publications

Every time Postmypost publishes a post — or fails to — it can send a real-time HTTP notification to your server. Receive the event, process the payload, and trigger any downstream action: update your CMS, log results, schedule the next post, or notify your team.

Real-time publication events

Postmypost sends an HTTPS POST to your endpoint the moment a post is published, fails, or is deleted. React to every status change in real time without a single API poll.

Structured JSON payload

Every webhook delivers a consistent JSON body with publication ID, channel type, post content, status code, timestamp, and error message if applicable — all the context your handler needs in one request.

Automate downstream workflows

Wire Postmypost publication events into any workflow: update your CMS when a post goes live, notify a Slack channel on failure, trigger a re-publish, or feed data into analytics pipelines — all driven by webhooks.

Per-project configuration

Set a unique webhook URL for each project. Events from different channels or teams are routed to the right endpoint automatically — no shared handler logic required.

Delivery log & replay

Every webhook attempt is logged with its full payload and your server's HTTP response. Inspect failures, fix your endpoint, and replay missed events without losing any publication data.

Reliable retries

If your server returns a non-2xx response or times out, Postmypost retries delivery automatically. Your integration stays resilient even during temporary downtime.

Additional features

Instant delivery
Webhook events are dispatched immediately when a publication status changes — no polling required, no delays between the event and your handler.
Retry on failure
If your endpoint is temporarily unavailable, Postmypost automatically retries the webhook delivery so no event is silently lost.
Full event payload
Each webhook includes the publication ID, channel, post content, status, timestamp, and any error details — everything you need to act on the event.
Trigger any automation
Use incoming webhooks to kick off any workflow: update a database record, send a Slack alert, create the next scheduled post, or call any third-party API.
Multiple endpoints
Configure separate webhook URLs for different projects or channels. Each project can have its own endpoint, routing events exactly where they need to go.
No polling overhead
Instead of continuously querying the Postmypost API for status updates, let webhooks push events to you — cleaner architecture, lower API usage, faster reactions.
Event history
All webhook deliveries are logged with their payload and response code. Inspect past events to debug your integration or replay missed notifications.
Works with any stack
Webhooks are plain HTTPS POST requests with a JSON body — compatible with any language, framework, or serverless function out of the box.

More capabilities