How it worksUpdated

Every post accounted for: what happens when a post fails

When a post fails on one network, Siar, a unified social media API, still publishes it everywhere else. The failed network keeps its own code, message and HTTP status. A signed post.published webhook tells your server each network's result. When you retry, only the failed networks are sent again, and the retry uses no extra post from your plan.

"Accounted for" means you know, not that every post gets through. Each network a post goes to ends in a recorded state: posted, failed with the network's reason, or "could not be confirmed" when an interrupted send cannot be checked. Networks still reject posts. Siar tells you which ones, and why.

Start the 14-day Pro trial, or start with 20 free posts to try. No card.

Checked before it's sent · Sent to each account once · The network's own error · Signed webhooks · Broken connections · What's open today

What your app sees at each step

A post is one request. Siar splits it into one target per network and tracks each target on its own. The post's status comes from its targets, so you can read one field or all of them.

Post statusWhat it meansWhat you do
SCHEDULEDChecked, stored and queued for postDate.Nothing.
PROCESSINGAt least one network is being sent to, or has the post and is still processing it (common for video).Wait for the webhook.
POSTEDEach network it went to published it. postedDate is set.Nothing.
ERRORAt least one network failed for good. The others stay published.Read errors, fix the cause, retry.
RETRYINGYou retried; the failed networks are queued again.Wait for the webhook.

Each target inside the post has its own state, with the network's post id and link when it published, or the network's error when it did not.

Checked against each network's rules before it's sent

Siar checks a post against each network's rules when you create it, not when it is due. A bad request fails at once with a 400 you can fix, instead of failing on schedule while nobody is watching.

What is checked, per network:

  • that an account for that network is connected to the team, and a Page or channel is picked where the network needs one;
  • text length, counted the way that network counts it;
  • media type, file size, duration and aspect ratio, and the number of items;
  • every upload exists, and the first comment is allowed and short enough;
  • your plan's post quota and the account's daily cap for that day.

Every problem comes back in one response, in an issues list. Each issue has a path that points at the field, so ["data", "THREADS", "text"] means data.THREADS.text. A rejected request uses no post from your plan.

Example: request (ids and text are made up)
POST https://api.siaran.my/api/v1/post
x-api-key: YOUR_API_KEY
content-type: application/json

{
  "teamId": "TEAM_ID",
  "title": "November menu",
  "postDate": "2026-11-13T01:00:00.000Z",
  "status": "SCHEDULED",
  "socialAccountTypes": ["THREADS", "BLUESKY"],
  "data": {
    "THREADS": { "text": "(612 characters)" },
    "BLUESKY": { "text": "(342 characters)" }
  }
}
Example: response
{
  "statusCode": 400,
  "message": "Validation failed: Text is 612 characters (emoji count as their byte length); the limit is 500.",
  "issues": [
    {
      "code": "too_long",
      "message": "Text is 612 characters (emoji count as their byte length); the limit is 500.",
      "path": [
        "data",
        "THREADS",
        "text"
      ]
    },
    {
      "code": "too_long",
      "message": "Text is 342 characters; the limit is 300.",
      "path": [
        "data",
        "BLUESKY",
        "text"
      ]
    }
  ]
}

A check at create time cannot see everything. A network can still refuse a post later, for its own reasons. When it does, you get its own error, as described under the network's own error.

Each network's limits are on its page, for example Threads API limits and Bluesky API limits, and side by side in social media API limits by network.

Each account gets your post once

Before Siar sends to a network, it claims that target with a conditional database update and a fresh attempt id. Only the worker holding the claim sends. A second job, a restart or a double click finds nothing to claim. The moment the network returns the new post's id, Siar saves it.

If a send is interrupted

If a worker dies between sending and saving, the claim is left open. After 20 minutes, Siar reads the account's recent posts and looks for yours before sending anything again:

  • Found: the target is marked posted, with the network's id and link.
  • Not found: it is sent again, up to 3 attempts in all.
  • No way to look: some networks give Siar no way to read recent posts. Today that is Discord and Slack. There, Siar does not risk a second post. The target ends with this error, and you decide:
Example
"errorsVerbose": {
  "SLACK": {
    "code": "UNKNOWN",
    "errorMessage": "Publishing was interrupted and the result could not be confirmed. Check the account before retrying.",
    "isTransient": false,
    "retryability": "unknown",
    "httpStatus": null,
    "meta": null,
    "userFacingMessage": "Publishing was interrupted and the result could not be confirmed. Check the account before retrying."
  }
}

Retrying re-sends only what failed

POST /post/{id}/retry sends the failed networks again and leaves the published ones alone. A retry uses no post from your plan. Each post can be retried 6 times; after that, create a new post. Once a retry is accepted the post is RETRYING, and another retry call is refused with a 400 ("Only posts in ERROR can be retried").

Sending the same create call twice

Siar has no idempotency-key header on post creation. If you send the same create call twice without a reference, you create two posts. Give each post your own referenceKey: it is unique in your organization, so a second create with the same key is refused with a 409, and GET /post/reference-key/{referenceKey} finds the first one.

Example
{ "statusCode": 409, "message": "A post with referenceKey \"order-8841-promo\" already exists." }

If a network says no, you get its own words

When a network refuses a post, Siar keeps what the network said: its HTTP status, its message word for word, and its raw error body. On top, Siar adds a category (such as DUPLICATE or TOKEN_INVALID) and a verdict on what to do next.

VerdictWhat it meansWhat Siar doesWhat you do
retryableA rate limit, a network outage or a timeout.Tries again on its own, up to 3 attempts in all, waiting for the network's rate-limit reset where it gives one. These attempts do not use your 6 retries.Usually nothing.
non_retryableThe post itself was refused: duplicate text, a policy block, missing permission, bad media.Stops and marks that network failed.Fix the cause, then retry or edit the post.
unknownSiar cannot tell what happened.Stops. Never re-sends on a guess.Check the account, then decide.

Every known code has a page: what it means and how to fix it, by network. Siar's error reference covers 147 error codes, by network today, generated from the same code that relays them.

Example: one post to Threads, Bluesky and X; X refused it, the other two published
{
  "id": "POST_ID",
  "status": "ERROR",
  "error": "TWITTER: You are not allowed to create a Tweet with duplicate content.",
  "errors": {
    "TWITTER": "You are not allowed to create a Tweet with duplicate content."
  },
  "errorsVerbose": {
    "TWITTER": {
      "code": "DUPLICATE",
      "errorMessage": "You are not allowed to create a Tweet with duplicate content.",
      "isTransient": false,
      "retryability": "non_retryable",
      "httpStatus": 403,
      "meta": {
        "detail": "You are not allowed to create a Tweet with duplicate content.",
        "type": "about:blank",
        "title": "Forbidden",
        "status": 403
      },
      "userFacingMessage": "You are not allowed to create a Tweet with duplicate content."
    }
  },
  "externalData": {
    "THREADS": {
      "id": "THREADS_POST_ID",
      "status": "POSTED",
      "publishedAt": "2026-11-13T01:00:06.000Z"
    },
    "BLUESKY": {
      "id": "at://BLUESKY_RECORD_URI",
      "status": "POSTED",
      "publishedAt": "2026-11-13T01:00:05.000Z"
    }
  }
}

The fix for this one, from the X API error reference: change the text; X blocks identical consecutive posts. Then retry. Only X is sent again.

errors is on every read. errorsVerbose comes with the post.published webhook, and on API reads when verbose errors are turned on in your organization settings.

Social media API error codes, by network · Siar's own error format

A signed webhook tells your server how it went

Subscribe to post.published and your server hears about every post without polling. It fires once when a post reaches its final state, published everywhere or failed on at least one network, with each network's result inside. If you retry and the post reaches a new final state, it fires again.

How a delivery works:

  • Each request carries x-siar-event, x-siar-delivery, x-siar-timestamp and x-siar-signature.
  • The signature is a hex HMAC-SHA256 of timestamp.rawBody with your endpoint's secret. Check it on the raw bytes, and reject timestamps more than five minutes old.
  • A 2xx answer within 15 seconds counts as delivered. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: 7 retries over about 45 hours. Then the delivery is marked failed.
  • Automatic retries keep the same x-siar-delivery id, so your receiver can skip one it has already handled. A manual resend gets a new delivery id with the same event id; dedupe on the event id to skip those too.

Every delivery is logged with its response code and timing. Organization owners and admins can resend any delivery, send a test event and rotate the secret from the dashboard. An organization can have 5 endpoints, each with its own events and secret. There are 16 event types in all, including social-account.updated and comment.received.

Example: headers of one delivery
POST /webhooks/siar HTTP/1.1
content-type: application/json
user-agent: Siar-Webhooks/1.0
x-siar-event: post.published
x-siar-delivery: DELIVERY_ID
x-siar-timestamp: 1794445204
x-siar-signature: HEX_HMAC_SHA256
Example: body (shortened; the full post is in data)
{
  "id": "evt_EVENT_ID",
  "type": "post.published",
  "createdAt": "2026-11-12T01:00:04.000Z",
  "organizationId": "ORG_ID",
  "data": {
    "id": "POST_ID",
    "status": "ERROR",
    "errors": {
      "TWITTER": "You are not allowed to create a Tweet with duplicate content."
    },
    "errorsVerbose": {
      "TWITTER": {
        "code": "DUPLICATE",
        "retryability": "non_retryable",
        "httpStatus": 403
      }
    },
    "externalData": {
      "THREADS": {
        "status": "POSTED"
      },
      "BLUESKY": {
        "status": "POSTED"
      }
    }
  }
}
Verify it (Node.js)
import { createHmac, timingSafeEqual } from 'node:crypto';

// Use the raw request body exactly as received, before any JSON parsing.
export function verifySiarWebhook(rawBody, headers, secret, toleranceSeconds = 300) {
  const timestamp = headers['x-siar-timestamp'];
  const signature = headers['x-siar-signature'];
  if (!timestamp || !signature) return false;
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > toleranceSeconds) return false;
  const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex');
  const a = Buffer.from(expected, 'hex');
  const b = Buffer.from(String(signature), 'hex');
  return a.length === b.length && timingSafeEqual(a, b);
}

// Express example: keep the raw body for this route.
app.post('/webhooks/siar', express.raw({ type: 'application/json' }), (req, res) => {
  const raw = req.body.toString('utf8');
  if (!verifySiarWebhook(raw, req.headers, process.env.SIAR_WEBHOOK_SECRET)) return res.sendStatus(401);
  const event = JSON.parse(raw);
  // Deduplicate on the x-siar-delivery header or event.id, then handle event.type.
  res.sendStatus(200);
});

Social media webhooks API · Webhook docs, with Python

When a connection breaks, you hear about it

Tokens expire and people remove apps. Siar refreshes access tokens before they run out, on the networks that allow refresh: shortly before each call, and in a background job for tokens due within the hour. Refreshes for one account run one at a time, because some networks issue a new refresh token each time.

When a grant is revoked, or expires and cannot be refreshed, Siar marks the account as needing a reconnect and keeps the network's reason. Siar also asks each network every 6 hours whether its connections still work. When that check finds a broken one, it sends a social-account.updated webhook.

What happens next:

  • Posts due on that account fail with "Reconnect this account, then retry the post." They are not sent.
  • Your customer reconnects through the same branded connect link. Then you retry the failed posts.
  • If nobody reconnects within your organization's grace period (72 hours unless you change it), Siar removes the account and sends social-account.deleted.
Example: social-account.updated, shortened
{
  "id": "evt_EVENT_ID",
  "type": "social-account.updated",
  "organizationId": "ORG_ID",
  "data": {
    "id": "SOCIAL_ACCOUNT_ID",
    "type": "FACEBOOK",
    "teamId": "TEAM_ID",
    "connectionState": "NEEDS_RECONNECT",
    "connectionStateReason": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.",
    "deleteOn": "2026-11-15T07:00:00.000Z"
  }
}

Connecting accounts · Hosted connect link

Which networks are open today

Siar is built for 15 networks. Publishing is open today on Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack. YouTube: connect and upload now; public uploads not yet confirmed. TikTok, Pinterest publishing and LinkedIn company pages open after each network approves Siar. Reddit, Snapchat and Google Business Profile are built, not open yet.

Siar's Meta app passed App Review on 27 October 2026, so your customers connect Facebook, Instagram and Threads through it.

Each network's status · Approval record, with dates · Dated network API changes

What you would build for each network

You can call each network yourself. These are the parts this page is about, and who builds them.

PartCalling each network yourselfThrough Siar
Rules check before sendingYou write one per network and keep it currentChecked at create; a 400 with issues per field
One send per accountYou build the claim, the crash recovery and the lookupClaimed once; interrupted sends checked against the account first
Error handlingOne error format per network, mapped by youThe network's own error kept, plus a category and a retry verdict
Telling your app the resultYou build the event, signing and retriespost.published, HMAC-signed, retried 7 times over about 45 hours
Broken connectionsYou refresh tokens and check connectionsRefresh before expiry; a check every 6 hours with social-account.updated
Network approvalsYour own app review on each networkMeta done (27 October 2026); others as listed on the approval record

What Siar does not do

  • It does not make networks say yes. A post can pass every check and still be refused. You get the refusal in the network's words.
  • No idempotency-key header on create. Send the same create call twice without a referenceKey and you get two posts.
  • A timeout is treated as not sent. If a network times out or answers with a server error, Siar tries again, up to 3 attempts in all. If the network saved the post before it failed, a second copy is possible.
  • No uptime figure and no success rate. Siar has been live since 12 October 2026 and publishes none.
  • 5 webhook endpoints per organization, 16 event types.

Frequently asked questions

What happens if a post fails on one network?

The other networks still publish. The failed network keeps its own error code, message and HTTP status, plus a verdict: retryable, non-retryable or unknown. The post.published webhook tells your server each network's result. Fix the cause and retry: only the failed networks are sent again, and the retry uses no extra post.

How do I avoid double posting when I retry?

Use Siar's retry call, not a second create. POST /post/{id}/retry re-sends only the networks that failed and leaves published ones alone. Each network target is claimed once, so a second call or a restart cannot start another send. If you must resend a create call, give it the same referenceKey: the copy is refused with a 409.

How do I know a post was published?

Subscribe to the post.published webhook. It fires once when a post reaches its final state, published everywhere or failed somewhere, with each network's post id, link or error. Deliveries are HMAC-signed and retried 7 times over about 45 hours. You can also read GET /post/{id}, or list failed posts by status.

What happens when a token expires?

Siar refreshes tokens before they expire on networks that allow it. If a grant is revoked or cannot be refreshed, the account is marked as needing a reconnect, and posts to it fail with "Reconnect this account, then retry the post." Siar's 6-hourly connection check sends a social-account.updated webhook. Your customer reconnects through your branded link.

Which networks are open today?

Publishing is open on Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack. YouTube uploads work; public uploads are not yet confirmed. TikTok, Pinterest publishing and LinkedIn company pages open after each network approves Siar. Reddit, Snapchat and Google Business Profile are built, not open yet. Each network's status, with dates, is on the approval record.

What does "Publishing was interrupted and the result could not be confirmed" mean?

A send to that network stopped before Siar could record the answer, and Siar had no way to check the account for the post. Rather than risk a second copy, Siar stopped. Look at the account. If the post is not there, retry. If it is, leave it: the rest of the post is unaffected.

Do failed posts and retries count against my plan?

A request rejected at create, with a 400, uses no post. A post counts once when it is scheduled, however many networks it goes to. Retrying a failed post re-sends only the failed networks and does not count again, up to 6 retries per post. Drafts do not count either.

Does Siar support idempotency keys?

Not as a request header on post creation. Instead, each network target is claimed once, and an interrupted send is checked against the account before anything is re-sent. For create calls, set your own referenceKey. It is unique in your organization, so a repeated create gets a 409, and you can fetch the original by that key.

What happens if my webhook endpoint is down?

Siar retries each delivery after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: about 45 hours in all. After that the delivery is marked failed and stays in your delivery log. Owners and admins can resend it from the dashboard once your endpoint is back.

How do I verify a Siar webhook signature?

Compute a hex HMAC-SHA256 over the x-siar-timestamp header, a dot, and the raw request body, using your endpoint's secret. Compare it with x-siar-signature in constant time. Reject timestamps more than five minutes old to stop replays. Parse the JSON only after the check passes. Node.js and Python code is in the webhook docs.

Write it once. Siar it everywhere.

Add publishing to your product and know what happened to every post. One price per organization, not per account: from $19 a month (RM39 in Malaysia), with unlimited brands and 100,000 posts a month on Business for $149 (RM399). Your price never goes up while you stay subscribed.

FF DEV STUDIO (SSM 202603234793), Malaysia. Meta App Review passed on 27 October 2026.