Networks
Discord posting API: bot messages per brand
Discord: open today, posting as a bot with a name and avatar per brand. Siar, a unified social media API, sends and schedules messages to Discord channels from a bot with a name and avatar per brand with one REST request: list DISCORD in socialAccountTypes and put the Discord payload under data.DISCORD. Add other networks to the same request to post to all of them at once.
Status checked 12 November 2026 against Siar's approval records. Each network's status, and Discord's approval record.
How to post to Discord via API
Send POST /post with your API key in x-api-key. channelId is required. username and avatarUrl set the bot's name and picture for this brand. A request that breaks one of Discord's rules gets a 400 with an issues entry before anything is sent.
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": "Discord post",
"postDate": "2026-11-20T09:00:00.000Z",
"status": "SCHEDULED",
"socialAccountTypes": [
"DISCORD"
],
"data": {
"DISCORD": {
"channelId": "CHANNEL_ID",
"text": "Version 2.4 is out. Read the changelog: https://example.com/changelog",
"username": "Release bot"
}
}
}' {
"id": "POST_ID",
"teamId": "TEAM_ID",
"organizationId": "ORGANIZATION_ID",
"title": "Discord post",
"referenceKey": null,
"postDate": "2026-11-20T09:00:00.000Z",
"postedDate": null,
"status": "SCHEDULED",
"data": {
"DISCORD": {
"channelId": "CHANNEL_ID",
"text": "Version 2.4 is out. Read the changelog: https://example.com/changelog",
"username": "Release bot"
}
},
"error": null,
"errors": null,
"errorsVerbose": null,
"externalData": null,
"retryCount": 0,
"createdAt": "2026-11-12T08:00:00.000Z",
"updatedAt": "2026-11-12T08:00:00.000Z",
"deletedAt": null,
"firstComment": null
} The post is stored as SCHEDULED. At postDate Siar publishes it, and a signed post.published webhook reports the result when the post reaches a final state. Read it any time with GET /post/{id}.
Discord fields
-
channelIdstring required -
textstring nullable -
uploadIdsstring[] nullable -
usernamestring nullable -
avatarUrlstring nullable
What Siar can do on Discord
| Comments and replies | Yes |
|---|---|
| First comment | Yes |
| Edit a published post | No |
| Delete a published post | Yes |
| Edit a comment | No |
| Delete a comment | Yes |
| Import comments | No |
| Post analytics | No |
| Account analytics | No |
| Post history import | No |
| Direct messages | No |
Siar can create comments and replies up to 2,000 characters.
Discord API limits
A bot can make 50 requests a second globally, and 10,000 invalid requests in 10 minutes lead to a temporary IP ban. A 429 response carries retry_after.Source: Discord, rate limits, checked 12 November 2026.
Siar's daily caps
| Per connected account, per UTC day | Free | Starter and Pro | Business |
|---|---|---|---|
| Posts | 10 | 100 | 200 |
| Comments | 3 | 100 | 200 |
Monthly post quotas are on pricing. Enterprise uses the Business caps unless agreed otherwise.
Text and media rules Siar checks before sending
| Connection | Bot install into a server or workspace |
|---|---|
| Channel | Required: pick a channel after connecting |
| Post types | post |
| Text length | 2,000 characters |
| Comment length | 2,000 characters |
| Media per post | Up to 10 |
Media rules
| Kind | Formats | Max size | Duration | Other |
|---|---|---|---|---|
| Image | jpeg, png, gif, webp | 10 MB | n/a | None |
| Video | mp4, webm, mov | 10 MB | Up to 24 h | None |
| Document | any type | 10 MB | n/a | None |
Discord API scopes
The user installs the Siar bot into their server; no personal token is involved. Use POST /social-account/connect from your own UI, or send your customer a hosted link from POST /social-account/create-portal-link; see connecting accounts.
Siar requests only these scopes at connect time:
botidentify
Discord-specific operations
These exist for Discord only and live under /misc/discord.
| Operation | Endpoint |
|---|---|
| Delete a Discord message | DELETE /misc/discord/message |
Discord MCP
TypeScript SDK, CLI and MCP server (version 0.1.0), built from the same OpenAPI contract. Not on npm yet. The MCP server exposes the same operations as the REST API, so an agent can post to Discord through it with the same payload as above. Because it is not on npm yet, there is no install command to copy; the SDK, CLI and MCP page says what exists today.
Discord API error codes
When Discord says no, Siar keeps Discord's own code and message on the post, word for word, with a plain-English fix and a retry verdict. The reference covers 9 Discord errors. Discord API error codes and how to fix them.
Discord API questions
What can I post to Discord through the API?
post. Messages to channels in Discord servers, sent by a bot whose display name and avatar you can set per team.
How many Discord posts can I publish per day?
Siar caps posts per connected account and UTC day: 10 on Free, 100 on Starter and Pro, 200 on Business. Discord's own limits also apply; they are on this page with their source.
Can I schedule Discord posts?
Yes. Set postDate in the future and a status of SCHEDULED. Siar publishes at that time and sends a signed post.published webhook when the post reaches a final state.
How do I connect a Discord account?
A Discord server where the Siar bot is added. Each post names the channel. The user installs the Siar bot into their server; no personal token is involved.
What happens when Discord rejects a post?
The post keeps Discord's own code and message, with a fix. The Discord API error codes and how to fix them page explains 9 common rejections and what to do.
Building on more than Discord? Siar publishes to Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack today. See the social media posting API and the social media scheduling API.
Other networks
TikTok API · YouTube API · Instagram API · Facebook API · X (Twitter) API · Threads API · LinkedIn API · Pinterest API · Reddit API · Mastodon API · Slack API · Bluesky API · Google Business Profile API · Snapchat API
Your first post is one request away.
Start with 20 free posts to try. No card. A one-time allowance, with no time limit.