Quirks & Gotchas
Webhook-Based Posting
Discord doesn’t allow third-party apps to post as a user. Instead, we use webhooks.- You connect a Discord server and select which channels to enable.
- We create a webhook for each channel.
- Posts appear as a “bot” message with a customizable username and avatar.
Channel Selection Required
Unlike other platforms, you must specify achannelId in your post data. You can find available channels in the socialAccount.channels array.
Custom Bot Identity
You can customize how your posts appear:username: Up to 80 characters. This is the name shown as the message author.avatarUrl: A URL to an image that will be used as the bot’s avatar.
Post Options
| Field | Type | Description |
|---|---|---|
channelId | string | Required. The channel to post to. Found in socialAccount.channels. |
text | string | Message content. Max 2000 characters. |
uploadIds | string[] | Media attachments (images, videos). |
username | string | Custom display name. Max 80 characters. |
avatarUrl | string | Custom avatar URL. Max 2048 characters. |
Analytics
Discord does not provide analytics via its API. All metrics return0.
| Metric | Description | Note |
|---|---|---|
Impressions | Returns 0 | Not available |
Views | Returns 0 | Not available |
Likes | Returns 0 | Not available |
Comments | Returns 0 | Not available |