messaging
Discord integration
Server messages, DMs, and slash-command handlers.
Overview
Connect Discord bots to one or many guilds, post messages and embeds, and route slash commands through one webhook endpoint.
Quick start
blazto.tsTypeScript
import { Blazto } from "@blazto/node";
const blazto = new Blazto(process.env.BLAZTO_API_KEY);
// Read the unified inbox
const threads = await blazto.inbox.list({ platform: "discord" });
// Reply to a Discord conversation
await blazto.inbox.reply({
threadId: threads[0].id,
text: "Thanks for reaching out — how can we help?",
});What you can do
- ✓Post messages and embeds to channels
- ✓Reply to DMs through the inbox
- ✓Handle slash commands and interactions
Key endpoints
POST
Post to a Discord channel./discord/messagesPOST
Receive interactions and messages./webhooks/discordBuilt for
Community tools
Pipe product events into your Discord server.
Related integrations
Ship the Discord integration today
One API key, one SDK, every platform you need.
Start for free