GuideUpdated
Post to multiple social networks with one API request
To post to several social networks at once, send one request that names the networks and gives each its own text and settings. Siar, a unified social media API, checks each network's limits before it accepts the post, sends it to each connected account once, and reports a result for each network.
The request
One POST /api/v1/post/ carries the whole post. Authenticate with your key in the x-api-key header.
| Field | What it does |
|---|---|
teamId | The brand to post as. A brand is a team in the API, with one connected account per network. |
title | Your name for the post. It is not published. |
postDate | When to publish, as an ISO 8601 date-time in UTC. A time now or in the past publishes at once. |
status | SCHEDULED to publish, or DRAFT to keep it without publishing. |
socialAccountTypes | The networks, such as ["FACEBOOK", "THREADS"]. No repeats. |
data | One entry per listed network, each with that network's own fields. Every listed network needs an entry, and no entry may name a network that is not listed. |
referenceKey | Optional. Your own id, unique in your organization, so you can look the post up before you resend. |
firstComment | Optional. A comment Siar adds under the post on networks that support one. |
Example: one post to five networks, each with its own text.
curl -X POST "https://api.siaran.my/api/v1/post/" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"title": "Spring menu",
"referenceKey": "menu-2026-spring",
"postDate": "2026-11-20T01:00:00.000Z",
"status": "SCHEDULED",
"socialAccountTypes": [
"FACEBOOK",
"THREADS",
"LINKEDIN",
"BLUESKY",
"MASTODON"
],
"data": {
"FACEBOOK": {
"type": "POST",
"text": "Our spring menu starts Monday. Six new dishes, two of them vegan.",
"link": "https://example.com/menu"
},
"THREADS": {
"text": "Spring menu starts Monday. Six new dishes, two vegan.",
"replyControl": "everyone"
},
"LINKEDIN": {
"text": "Our spring menu starts Monday. Here is how the kitchen planned it.",
"link": "https://example.com/menu",
"privacy": "PUBLIC"
},
"BLUESKY": {
"text": "Spring menu starts Monday.",
"externalUrl": "https://example.com/menu",
"externalTitle": "Spring menu"
},
"MASTODON": {
"text": "Spring menu starts Monday. Six new dishes, two vegan. https://example.com/menu",
"privacy": "PUBLIC"
}
}
}' const res = await fetch('https://api.siaran.my/api/v1/post/', {
method: 'POST',
headers: { 'x-api-key': process.env.SIAR_API_KEY, 'content-type': 'application/json' },
body: JSON.stringify({
"teamId": "TEAM_ID",
"title": "Spring menu",
"referenceKey": "menu-2026-spring",
"postDate": "2026-11-20T01:00:00.000Z",
"status": "SCHEDULED",
"socialAccountTypes": [
"FACEBOOK",
"THREADS",
"LINKEDIN",
"BLUESKY",
"MASTODON"
],
"data": {
"FACEBOOK": {
"type": "POST",
"text": "Our spring menu starts Monday. Six new dishes, two of them vegan.",
"link": "https://example.com/menu"
},
"THREADS": {
"text": "Spring menu starts Monday. Six new dishes, two vegan.",
"replyControl": "everyone"
},
"LINKEDIN": {
"text": "Our spring menu starts Monday. Here is how the kitchen planned it.",
"link": "https://example.com/menu",
"privacy": "PUBLIC"
},
"BLUESKY": {
"text": "Spring menu starts Monday.",
"externalUrl": "https://example.com/menu",
"externalTitle": "Spring menu"
},
"MASTODON": {
"text": "Spring menu starts Monday. Six new dishes, two vegan. https://example.com/menu",
"privacy": "PUBLIC"
}
}
}),
});
const post = await res.json();
if (!res.ok) throw new Error(post.message);
console.log(post.id, post.status); import os, requests
res = requests.post(
"https://api.siaran.my/api/v1/post/",
headers={"x-api-key": os.environ["SIAR_API_KEY"]},
json={
"teamId": "TEAM_ID",
"title": "Spring menu",
"referenceKey": "menu-2026-spring",
"postDate": "2026-11-20T01:00:00.000Z",
"status": "SCHEDULED",
"socialAccountTypes": [
"FACEBOOK",
"THREADS",
"LINKEDIN",
"BLUESKY",
"MASTODON"
],
"data": {
"FACEBOOK": {
"type": "POST",
"text": "Our spring menu starts Monday. Six new dishes, two of them vegan.",
"link": "https://example.com/menu"
},
"THREADS": {
"text": "Spring menu starts Monday. Six new dishes, two vegan.",
"replyControl": "everyone"
},
"LINKEDIN": {
"text": "Our spring menu starts Monday. Here is how the kitchen planned it.",
"link": "https://example.com/menu",
"privacy": "PUBLIC"
},
"BLUESKY": {
"text": "Spring menu starts Monday.",
"externalUrl": "https://example.com/menu",
"externalTitle": "Spring menu"
},
"MASTODON": {
"text": "Spring menu starts Monday. Six new dishes, two vegan. https://example.com/menu",
"privacy": "PUBLIC"
}
}
},
)
post = res.json()
res.raise_for_status()
print(post["id"], post["status"]) Per-network text and settings
Each network has its own limits, so each gets its own entry. The text can differ, and each entry takes only the settings that network has.
| Network | Status | Text limit Siar checks | Settings you can send |
|---|---|---|---|
| Open today | 63,206 characters | type, uploadIds, mediaItems, link, thumbnail, mediaTitle | |
| Open today | 2,200 characters | type, uploadIds, altText, thumbnailOffset, thumbnail, shareToFeed | |
| Threads | Open today | 500 characters | uploadIds, mediaItems, topicTag, replyControl, linkAttachment, poll |
| X (Twitter) | Open today | 280 characters | uploadIds, mediaItems, replySettings, poll, quoteTweetId, replyToTweetId |
| Profiles open | 3,000 characters | uploadIds, link, thumbnail, mediaTitle, privacy, hideFromFeed | |
| Bluesky | Open today | 300 characters | uploadIds, tags, labels, quoteUri, externalUrl, externalTitle |
| Mastodon | Open today | 500 characters | uploadIds, thumbnail, privacy, spoiler |
| Discord | Open today | 2,000 characters | channelId, uploadIds, username, avatarUrl |
| Slack | Open today | 40,000 characters | channelId, uploadIds, username, avatarUrl |
Network status checked 12 November 2026. Each network page lists every field with its type.
Checked before it is accepted
Siar checks each entry before it is sent, against its network's rules: text length, media type and count, required fields. A post that would fail later fails now, with a 400 that names the field.
HTTP/1.1 400 Bad Request
content-type: application/json
{
"statusCode": 400,
"message": "Validation failed: Text is 342 characters; the limit is 300.",
"issues": [
{
"code": "too_long",
"message": "Text is 342 characters; the limit is 300.",
"path": [
"data",
"BLUESKY",
"text"
]
}
]
} Fix the field and send the request again. Nothing was created, so this resend makes no duplicate.
One result per network
Each network is published on its own. Read the post with GET /api/v1/post/{id}, or let the post.published webhook tell you when the post reaches a final state.
statusisPOSTEDwhen all the listed networks posted,ERRORwhen any network failed, andPROCESSINGwhile any is still being sent.externalDataholds each network's post id and link.errorsholds each failed network's message with its fix. Turn on verbose errors in your organization settings to also geterrorsVerbose: the network's own code and message, and a verdict ofretryable,non_retryableorunknown.
{
"id": "POST_ID",
"referenceKey": "menu-2026-spring",
"status": "ERROR",
"postDate": "2026-11-20T01:00:00.000Z",
"error": "LINKEDIN: Reconnect this account, then retry the post.",
"errors": {
"LINKEDIN": "Reconnect this account, then retry the post."
},
"externalData": {
"FACEBOOK": {
"id": "EXTERNAL_ID",
"permalink": "PERMALINK",
"status": "POSTED"
},
"THREADS": {
"id": "EXTERNAL_ID",
"permalink": "PERMALINK",
"status": "POSTED"
},
"BLUESKY": {
"id": "EXTERNAL_ID",
"permalink": "PERMALINK",
"status": "POSTED"
},
"MASTODON": {
"id": "EXTERNAL_ID",
"permalink": "PERMALINK",
"status": "POSTED"
}
},
"retryCount": 0
} If one network fails
How Siar handles this
The other networks still publish. One failure never holds back the rest (the network’s own error, plus a fix).
POST /api/v1/post/{id}/retry re-sends only the networks that failed, up to 6 times, and does not count as another post.
Each network target is claimed once, so a retry cannot publish twice where the post is already live. How duplicates are prevented.
Which networks you can post to today
Open today: Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack. The rest are built and wait on each network.
| Network | Status |
|---|---|
| TikTok | TikTok: built, opening after TikTok approves Siar. |
| YouTube | YouTube: connect and upload now; public uploads not yet confirmed. |
| Pinterest: connect your account today; publishing Pins opens after Pinterest grants Standard access. | |
| Reddit: built, not open yet. | |
| Google Business Profile | Google Business Profile: built, not open yet. |
| Snapchat | Snapchat: built, not open yet. |
Only list networks the brand has connected. A network with no connected account is refused with a 400 before anything is created. The full table, with dates, is on which networks are open today.
Frequently asked questions
Can one API request post to several social networks?
Yes. List the networks in socialAccountTypes and give each its own entry under data. Siar sends the post to the brand's connected account on each network. Open today: Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack.
Does a post to five networks count as five posts?
No. On Siar a post sent to every connected network counts as one post on your plan.
What happens if one network rejects the post?
The other networks still publish. The failed network keeps its own error and a fix, and a retry re-sends only the networks that failed, up to 6 times.