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
| Type | Endpoint | Notes |
|---|---|---|
| Text message | POST /api/upload_text | Up 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
| Limit | Value |
|---|---|
| Message length | 3,000 characters |
| Posting rate | Incoming webhooks allow about 1 message per second |
Get an Incoming Webhook URL
- Go to api.slack.com/apps and click Create New App → From scratch. Pick a name and your workspace.
- In the app settings open Incoming Webhooks and switch Activate Incoming Webhooks on.
- Click Add New Webhook to Workspace, choose the channel to post to, and click Allow.
- 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
- Dashboard → Profiles → select your profile
- Click Connect next to Slack
- Paste the Incoming Webhook URL
- 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"}'
| Field | Required | Description |
|---|---|---|
webhook_url | Yes | The 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
| Problem | Cause | Fix |
|---|---|---|
Connect fails with INVALID_CREDENTIALS | The URL is wrong, or the webhook was revoked | Copy the URL again from the app's Incoming Webhooks page |
| Posts stop arriving | The webhook was revoked, the app was removed, or the channel was archived | Add a new webhook and reconnect Slack |
| Photo / video post fails for Slack | Slack webhooks only accept text | Post text to Slack, or leave Slack out of media posts |