Skip to content
Discord logo

Connectors / Communication · HTTP Connector

Discord integration and API

Send a message and add a reaction in Discord. Connect Discord to the rest of your communication stack with Tray.ai.

What can you do with Discord on Tray.ai?

Discord is a voice, video and text chat platform where companies and creators run community servers, with bots and apps that post and moderate messages. Tray.ai connects to Discord through the HTTP Connector, so your workflows can call the Discord API alongside the rest of your stack.

  • Send a message to your community channel when a new release ships.
  • Send a message to the support channel when a high priority ticket opens in your help desk.
  • Pin a message with the incident summary when your status page reports an outage.
  • List channel messages each day and log feature requests in your product tracker.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0 or an API key in a request header
Base URL
https://discord.com/api/v10

Set it up

Connect Discord to Tray.ai

Each step uses Discord's own API details, from its documentation.

Step 1

Save Discord's API token

Save the token Discord issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://discord.com/api/v10 as the base URL. Or paste a cURL example from Discord's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List channel messages”

It's one of 14 documented actions, under Messages. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Get a message” and “Send a message” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Discord

Connect Discord with GitHub, Datadog and Zendesk

Each one uses actions and events from Discord's own API documentation.

Post new GitHub releases to a Discord channel

When

A release is published in GitHub

Then

  1. Send a message to the announcements channel in Discord
  2. Pin a message so it stays at the top

With GitHub

Post Datadog alerts to a Discord channel

When

A monitor alerts in Datadog

Then

  1. Get the alert details from Datadog
  2. Execute a webhook to post the alert in Discord

With Datadog

Send Zendesk priority tickets to the Discord support channel

When

An urgent ticket is created in Zendesk

Then

  1. Get the ticket details from Zendesk
  2. Send a message to the support channel in Discord

With Zendesk

Apps you can build on Discord data

Internal tools your team can build with an AI assistant, each one using Discord calls from its API documentation.

Community announcement desk

Lets the community team draft an announcement, post it to a channel, and pin it.

Feedback channel review

Lists messages in a feedback channel with their reactions so product staff can see which requests get the most votes.

Channel moderation tool

Shows recent channel messages so moderators can edit or delete ones that break server rules.

Give your AI agents Discord tools

Build an MCP server on Discord in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List channel messages
  • Add a reaction
  • Create a webhook
  • Get a message
  • Send a message
  • Edit a message
  • Delete a message
  • Pin a message

What the Discord API covers

3 resources and 14 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Messages

  • List channel messages
  • Get a message
  • Send a message
  • Edit a message
  • Delete a message
  • Pin a message

Reactions

  • Add a reaction
  • List reactions
  • Delete all reactions

Webhooks

  • Create a webhook
  • List channel webhooks
  • Update a webhook
  • Delete a webhook
  • Execute a webhook

Checked against Discord's own documentation on 2026-10-22

docs.discord.com/developers/reference

Frequently asked questions

What can a Tray.ai workflow do in Discord?

+

The Discord API documents 14 actions across 3 resources (Messages, Reactions, Webhooks). For example: List channel messages; Add a reaction; Create a webhook. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Discord?

+

The Discord API uses a bearer token, OAuth 2.0, and an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Discord working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.