# Discord

Communications

Build bots, manage servers, and automate communities

The Discord API allows you to build powerful bots, manage guild roles, send webhooks, and automate community moderation.

### Details

**Auth Type**  
Bot Token (Authorization: Bot <token>)

**Rate Limit**  
50 req/s globally per bot

**Pricing**  
Free

**Try It**  
Add to Agent  
Export to Postman [Full Docs](https://discord.com/developers/docs/intro)

### Step 1: Save your provider key

This is **NOT** your Callio key. Enter the API key from the provider's dashboard (e.g. OpenAI/SendGrid).

### Bot Token (Authorization: Bot <token>)

1. Go to Discord Developer Portal  
2. Create an Application, then add a Bot  
3. Copy the Bot Token  
4. Use "Bot <token>" as the Auth header

[Get API Credentials](https://discord.com/developers/applications)

## Getting Started

### Try It Instantly

Click "Try It" above to test the API in the playground

### Add to Your Agent

Click "Add to Agent" to get your API key and integrate

## Common Use Cases

- Custom Discord bots  
- Community announcements  
- Role synchronization  
- Support ticket systems  
- Voice state changes

## 💻 Code Examples

Get started quickly with these code examples in your favorite language

```bash
curl -X GET \
  'https://www.callio.dev/api/proxy/discord-bots/forward?target=https%3A%2F%2Fdiscord.com%2Fapi%2Fv10%2Fendpoint' \
  -H 'Authorization: Bearer YOUR_CALLIO_KEY' \
  -H 'Content-Type: application/json'
```

💡 **Tip:** Replace `YOUR_CALLIO_KEY` with your actual Callio API key from the [dashboard](/content/keys/index.html).

## Ready to integrate Discord?

Test endpoints live or generate your API key and start building in minutes

Add to Agent  
Try API Live
