Discord
active

Discord provides a powerful API for building bots and integrations on the popular chat platform. Supports messaging, slash commands, embeds, reactions, voice channels, and webhooks. Widely used for community management and gaming.

socialBearer TokenFREE
🤖 00 ↓  |  👤 00
Official Documentation

Connect via PincerAPI

Use our proxy to call Discord with your PincerAPI key. No separate signup needed.

# Get instructions for Discord
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  https://pincerapi.com/api/v1/apis/discord/instructions

# Call through PincerAPI proxy
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  "https://pincerapi.com/api/v1/connect/discord/your/endpoint/here"

Direct Setup

Endpoints

POST/channels/{channel_id}/messages

Send a message to a Discord channel.

💡 Auth via "Bot {token}" in Authorization header. Rate limited to ~5 msgs/5s per channel.

GET/guilds/{guild_id}/channels

List all channels in a Discord server (guild).

💡 Type: 0=text, 2=voice, 4=category, 5=announcement, 13=stage, 15=forum. Use to find channel IDs.

POST/channels/{channel_id}/webhooks

Create a webhook for a channel (simplest way to send messages without a bot).

💡 Webhooks are the easiest Discord integration — POST JSON to the webhook URL without bot auth. Great for notifications.

POST/webhooks/{webhook_id}/{webhook_token}

Execute (send message via) a Discord webhook. No bot token needed.

💡 Add ?wait=true to get the message object back. No auth header needed — token is in the URL.

Related APIs in social