Skip to content

Webhooks for post and account events

One event per post, with every platform's result inside. Signed with HMAC, retried if your endpoint is down, and sent to a URL or to email.

No card required.

POSThttps://yourapp.com/postkey/webhookto you

X-Postkey-Event-Type: post.partial

X-Postkey-Timestamp: 1796133609

X-Postkey-Signature: sha256=5d1f0c…

{ "id": "evt_7c1d", "type": "post.partial",
  "data": {
    "post": { "id": "post_8f21c", "status": "partial" },
    "platforms": [
      { "platform": "instagram", "success": false,
        "error": "This is a personal account…" },
      { "platform": "linkedin", "success": true, "platformPostUrl": "…" },
      { "platform": "twitter", "success": true, "platformPostUrl": "…" }
    ] } }
{ "id": "evt_7c1d",
  "type": "post.partial",
  "data": {
    "post": { "id": "post_8f21c" },
    "platforms": [
      { "platform": "instagram",
        "success": false,
        "error": "This is a personal…" },
      { "platform": "linkedin",
        "success": true },
      { "platform": "twitter",
        "success": true } ] } }

Deliveries

  • 14:00:09post.partial · attempt 1503
  • 14:00:12post.partial · attempt 2200
  • 08:12:00account.reauthorization_required200

How it works

  • One event per post

    Every platform's result in one payload, so you update your UI once instead of stitching events together.

  • Signed and timestamped

    Each request carries an HMAC-SHA256 signature over the timestamp and body, keyed with your subscription secret.

  • Retried for you

    If your endpoint is down, Postkey tries again with backoff. Use the event id to skip duplicates.

Works with your stack

  • Your code

    Node and Python SDKs with the same calls, or plain REST from anything that speaks HTTP.

    • Node
    • Python
    • {}REST
    Read the docs
  • No-code tools

    Call the REST API from an HTTP step in n8n, Make or Zapier. One request posts to every network.

    • n8n
    • Make
    • Zapier
    Postkey with n8n
  • AI agents & MCP

    The MCP server lets Claude, Cursor and other agent tools publish and schedule posts, and read the results.

    • MCP server
    About the MCP server

Questions

Something not here? Email hello@postkey.dev.

Which events are sent?

post.scheduled, post.published, post.partial, post.failed, account.reauthorization_required and account.disconnected. You pick which ones per subscription.

Do I have to use webhooks?

No. Immediate results come back in the API response. Webhooks matter most for video and scheduled posts, which finish later, and for accounts that need to reconnect.

Can I scope a webhook to one client?

Yes. Pass a profile id and that subscription only receives events for that client's accounts.

One API for every network.

Get a key, connect an account, send your first request.