Networks

Slack API: post and schedule channel messages

Slack: open today. Importing replies is slow, because Slack limits apps outside its Marketplace. Siar, a unified social media API, sends and schedules messages to Slack channels with files and a custom bot name with one REST request: list SLACK in socialAccountTypes and put the Slack payload under data.SLACK. 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 Slack's approval record.

How to post to Slack via API

Send POST /post with your API key in x-api-key. channelId is required, and the Siar app must be in the channel. username sets the bot name. A request that breaks one of Slack's rules gets a 400 with an issues entry before anything is sent.

Example request
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": "Slack post",
    "postDate": "2026-11-20T09:00:00.000Z",
    "status": "SCHEDULED",
    "socialAccountTypes": [
      "SLACK"
    ],
    "data": {
      "SLACK": {
        "channelId": "CHANNEL_ID",
        "text": "Version 2.4 is out. Changelog: https://example.com/changelog",
        "username": "Release bot"
      }
    }
  }'
Example response (200)
{
  "id": "POST_ID",
  "teamId": "TEAM_ID",
  "organizationId": "ORGANIZATION_ID",
  "title": "Slack post",
  "referenceKey": null,
  "postDate": "2026-11-20T09:00:00.000Z",
  "postedDate": null,
  "status": "SCHEDULED",
  "data": {
    "SLACK": {
      "channelId": "CHANNEL_ID",
      "text": "Version 2.4 is out. 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}.

Slack fields

  • channelId string required
  • text string nullable
  • uploadIds string[] nullable
  • username string nullable
  • avatarUrl string nullable

What Siar can do on Slack

Comments and repliesYes
First commentYes
Edit a published postYes
Delete a published postYes
Edit a commentNo
Delete a commentYes
Import commentsYes
Post analyticsYes
Account analyticsNo
Post history importNo
Direct messagesNo

Siar can create comments and replies up to 40,000 characters, and import the comments people leave on your posts.

Slack API limits

chat.postMessage "will generally allow an app to post 1 message per second to a specific channel", with workspace limits of several hundred messages a minute above that.Source: Slack, chat.postMessage, checked 12 November 2026.

Since 29 May 2025, commercially distributed apps outside the Slack Marketplace get conversations.history and conversations.replies at 1 request a minute, with at most 15 objects per page, on new installs.Source: Slack changelog, checked 12 November 2026.

Siar's daily caps

Per connected account, per UTC dayFreeStarter and ProBusiness
Posts10100200
Comments3100200

Monthly post quotas are on pricing. Enterprise uses the Business caps unless agreed otherwise.

Text and media rules Siar checks before sending

ConnectionOAuth 2.0 in the browser
ChannelRequired: pick a channel after connecting
Post typespost
Text length40,000 characters
Comment length40,000 characters
Media per postUp to 10

Media rules

KindFormatsMax sizeDurationOther
Imageany type1 GBn/aNone
Videoany type1 GBUp to 24 hNone
Documentany type1 GBn/aNone

Slack API scopes

Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire. 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:

  • chat:write
  • chat:write.public
  • chat:write.customize
  • channels:read
  • groups:read
  • channels:history
  • groups:history
  • files:write
  • files:read
  • reactions:write
  • users:read

Slack-specific operations

These exist for Slack only and live under /misc/slack.

OperationEndpoint
Edit an existing Slack messagePATCH /misc/slack/message
Delete a Slack messageDELETE /misc/slack/message

Slack 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 Slack 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.

Slack API error codes

When Slack says no, Siar keeps Slack's own code and message on the post, word for word, with a plain-English fix and a retry verdict. The reference covers 10 Slack errors. Slack API error codes and how to fix them.

Slack API guides

Slack API questions

What can I post to Slack through the API?

post. Messages to Slack channels, with files and an optional custom bot name and icon.

How many Slack 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. Slack's own limits also apply; they are on this page with their source.

Can I schedule Slack 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 Slack account?

A Slack workspace where the Siar app is installed. Each post names the channel. Siar sends the user to the network's consent page and stores the tokens it gets back, refreshing them before they expire.

What happens when Slack rejects a post?

The post keeps Slack's own code and message, with a fix. The Slack API error codes and how to fix them page explains 10 common rejections and what to do.

Building on more than Slack? 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 · Discord 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.