Skip to main content

Slack Upload Guide

Post text messages to a Slack channel using the IndReelForge API. Slack connects with an incoming webhook URL — the webhook is tied to one channel.

Supported Content Types​

TypeEndpointNotes
Text messagePOST /api/upload_textUp to 3,000 characters
Text only

Slack incoming webhooks cannot upload files, so photos and videos are not supported for Slack. Leave Slack out of photo and video requests.

Limits​

LimitValue
Message length3,000 characters
Posting rateIncoming webhooks allow about 1 message per second

Get an Incoming Webhook URL​

  1. Go to api.slack.com/apps and click Create New App → From scratch. Pick a name and your workspace.
  2. In the app settings open Incoming Webhooks and switch Activate Incoming Webhooks on.
  3. Click Add New Webhook to Workspace, choose the channel to post to, and click Allow.
  4. Copy the Webhook URL — it looks like https://hooks.slack.com/services/….
Treat the webhook URL like a password

Anyone with the URL can post to that channel. If it leaks, revoke it in the app's Incoming Webhooks page and connect a new one.

Connect Slack​

From the dashboard​

  1. Dashboard → Profiles → select your profile
  2. Click Connect next to Slack
  3. Paste the Incoming Webhook URL
  4. IndReelForge checks the webhook before saving — status shows Connected

With the API​

curl -X POST https://api.indreelforge.com/api/profiles/my-brand/connect/slack/credentials \
-H 'Authorization: Apikey YOUR_KEY' \
-H 'Content-Type: application/json' \
-d '{"webhook_url": "https://hooks.slack.com/services/T000/B000/XXXX"}'
FieldRequiredDescription
webhook_urlYesThe incoming webhook URL from your Slack app

See Connect with Credentials for the full request and response format.

Post a Message​

curl -X POST https://api.indreelforge.com/api/upload_text \
-H 'Authorization: Apikey YOUR_KEY' \
-F 'user=my-brand' \
-F 'title=New blog post: How we cut build times in half https://example.com/blog/builds' \
-F 'platform[]=slack'

Announce Across Slack, Discord and Telegram​

curl -X POST https://api.indreelforge.com/api/upload_text \
-H 'Authorization: Apikey YOUR_KEY' \
-F 'user=my-brand' \
-F 'title=v2.0 ships today — changelog in the docs.' \
-F 'platform[]=slack' \
-F 'platform[]=discord' \
-F 'platform[]=telegram'

Use slack_title to send Slack different text than the other platforms in the same request.

Troubleshooting​

ProblemCauseFix
Connect fails with INVALID_CREDENTIALSThe URL is wrong, or the webhook was revokedCopy the URL again from the app's Incoming Webhooks page
Posts stop arrivingThe webhook was revoked, the app was removed, or the channel was archivedAdd a new webhook and reconnect Slack
Photo / video post fails for SlackSlack webhooks only accept textPost text to Slack, or leave Slack out of media posts