---
id: "discord"
type: "component"
kind: "third-party-api"
provider: "default"
category: "external"
docs: "https://docs.discord.com/developers/intro"
url: "https://localhost:3000/catalogue/components/discord"
---

# Discord API

REST and Gateway API for Discord bots and integrations, capped at 50 requests per second per bot.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [Third-party API](https://localhost:3000/catalogue/kinds/third-party-api) |
| Category | External |
| Official docs | [https://docs.discord.com/developers/intro](https://docs.discord.com/developers/intro) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `callbackStyle` | enum | `none`, `webhook`, `poll` | no | "none" | **"webhook"** |
| `eventTransport` | enum | `gateway`, `interactions-endpoint` | no | "gateway" | inherited |
| `handlesMoney` | boolean | — | no | false | **false** |
| `hostedPage` | boolean | — | no | false | **false** |
| `idempotent` | boolean | — | no | — | inherited |
| `managed` | boolean | — | no | false | **true** |
| `outgoingWebhooks` | boolean | — | no | false | inherited |
| `qpsQuota` | integer | — | no | — | **50** |
| `slaPercent` | string | — | no | — | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 108

- [AWS AppFabric](https://localhost:3000/catalogue/components/aws-appfabric.md) `aws-appfabric` — aws
- [Amazon Braket](https://localhost:3000/catalogue/components/aws-braket.md) `aws-braket` — aws
- [AWS Data Exchange](https://localhost:3000/catalogue/components/aws-data-exchange.md) `aws-data-exchange` — aws
- [AWS Ground Station](https://localhost:3000/catalogue/components/aws-ground-station.md) `aws-ground-station` — aws
- [Amazon Location Service](https://localhost:3000/catalogue/components/aws-location-service.md) `aws-location-service` — aws
- [AWS Supply Chain](https://localhost:3000/catalogue/components/aws-supply-chain.md) `aws-supply-chain` — aws
- [Bing Web Search API](https://localhost:3000/catalogue/components/azure-bing-web-search.md) `azure-bing-web-search` — azure
- [Azure Data Manager for Energy](https://localhost:3000/catalogue/components/azure-energy-data-services.md) `azure-energy-data-services` — azure
- [Azure Maps](https://localhost:3000/catalogue/components/azure-maps.md) `azure-maps` — azure
- [Azure Quantum](https://localhost:3000/catalogue/components/azure-quantum.md) `azure-quantum` — azure
- [Cloudflare Privacy Proxy](https://localhost:3000/catalogue/components/cloudflare-privacy-proxy.md) `cloudflare-privacy-proxy` — cloudflare
- [Cloudflare Randomness Beacon](https://localhost:3000/catalogue/components/cloudflare-randomness-beacon.md) `cloudflare-randomness-beacon` — cloudflare
- [Cloudflare Time Services](https://localhost:3000/catalogue/components/cloudflare-time-services.md) `cloudflare-time-services` — cloudflare
- [Cloudflare Wallets](https://localhost:3000/catalogue/components/cloudflare-wallets.md) `cloudflare-wallets` — cloudflare
- [Cloudflare Web3 Gateways](https://localhost:3000/catalogue/components/cloudflare-web3.md) `cloudflare-web3` — cloudflare
- [Adyen](https://localhost:3000/catalogue/components/adyen.md) `adyen` — default
- [Amazon Pay](https://localhost:3000/catalogue/components/amazon-pay.md) `amazon-pay` — default
- [Apify](https://localhost:3000/catalogue/components/apify.md) `apify` — default
- [Apple Push Notification service](https://localhost:3000/catalogue/components/apns.md) `apns` — default
- [Bank API](https://localhost:3000/catalogue/components/bank-api.md) `bank-api` — default
- [Bird](https://localhost:3000/catalogue/components/bird.md) `bird` — default
- [Braintree](https://localhost:3000/catalogue/components/braintree.md) `braintree` — default
- [Brave Search API](https://localhost:3000/catalogue/components/brave-search-api.md) `brave-search-api` — default
- [Browserbase](https://localhost:3000/catalogue/components/browserbase.md) `browserbase` — default
- [Card network](https://localhost:3000/catalogue/components/card-network.md) `card-network` — default
- [Checkout.com](https://localhost:3000/catalogue/components/checkout-com.md) `checkout-com` — default
- [Exa](https://localhost:3000/catalogue/components/exa-ai.md) `exa-ai` — default
- [Facebook Graph API](https://localhost:3000/catalogue/components/facebook.md) `facebook` — default
- [Firecrawl](https://localhost:3000/catalogue/components/firecrawl.md) `firecrawl` — default
- [GeoServer](https://localhost:3000/catalogue/components/geoserver.md) `geoserver` — default
- [HERE Location Services](https://localhost:3000/catalogue/components/here.md) `here` — default
- [HubSpot API](https://localhost:3000/catalogue/components/hubspot.md) `hubspot` — default
- [Hyperbrowser](https://localhost:3000/catalogue/components/hyperbrowser.md) `hyperbrowser` — default
- [Intercom](https://localhost:3000/catalogue/components/intercom.md) `intercom` — default
- [Let's Encrypt](https://localhost:3000/catalogue/components/lets-encrypt.md) `lets-encrypt` — default
- [LINE Messaging API](https://localhost:3000/catalogue/components/line.md) `line` — default
- [Mailgun](https://localhost:3000/catalogue/components/mailgun.md) `mailgun` — default
- [Mailchimp Transactional (Mandrill)](https://localhost:3000/catalogue/components/mandrill.md) `mandrill` — default
- [Mapbox](https://localhost:3000/catalogue/components/mapbox.md) `mapbox` — default
- [Maps API](https://localhost:3000/catalogue/components/maps-api.md) `maps-api` — default
- and 68 more: https://localhost:3000/catalogue/kinds/third-party-api.md

## Use it in a design

```yaml
nodes:
  - { id: "discord", component: "discord" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Discord API: hosted REST and realtime API for bots and integrations ("Discord Developer
# Platform"). "Rate Limits" states all bots can make up to 50 requests per second to the API on
# top of the per-route buckets. Events reach a bot over the Gateway WebSocket; an application may
# instead register an interactions endpoint URL that Discord posts to. No idempotency mechanism
# is documented, so idempotent is left undeclared.
schemaVersion: "1"
type: "component"
id: "discord"
kind: "third-party-api"
provider: "default"
docs: "https://docs.discord.com/developers/intro"
defaults:
  managed: true
  qpsQuota: 50
  callbackStyle: "webhook"
  hostedPage: false
  handlesMoney: false
properties:
  eventTransport:
    type: "enum"
    values: ["gateway", "interactions-endpoint"]
    default: "gateway"
  outgoingWebhooks:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/discord
