Service Overview
Discord Bot API is the official messaging and bot platform api from Discord for bot, chat, guilds, and messaging. This Hub entry keeps the service explanation, setup links, and Harbor-safe import path together so operators can review the integration before local credentials and policies are applied.
Discord Bot API
Service
Messaging and bot platform API
Service type
https://discord.com/api/v10/
Base URL
What This Port Does
- List guilds visible to the current Discord identity with typed pagination inputs.
- List channels for a specific Discord guild using an explicit guild identifier.
- Post a message to a Discord channel using an explicit channel identifier and a bounded JSON request body.
- Keeps service credentials local to Harbor Node so approval, execution, and audit stay inside the Harbor ecosystem.
Operator Setup
- Create or confirm a Discord account, workspace, or tenant with the API access needed for the actions you plan to enable.
- Import this Hub entry into Harbor, then verify the service base URL and connection settings before testing actions.
- Store the required Bot token locally in Harbor Node using the Authorization header, then review automatic versus approval-required actions before publish.
- Use the vendor setup guide linked below to create service credentials, scopes, or app registration settings that match your Harbor policy.
Install
Use in Harbor UI or the import-by-URL route.
https://hub.breakwaterharbor.net/p/discord/discord-bot-api
http_api
Local shell
7
Actions
Community
Required tier
Never
Secrets imported
Actions
List Guilds JSON
{
"slug": "list-guilds",
"label": "List Guilds",
"description": "List guilds visible to the current Discord identity with typed pagination inputs.",
"method": "GET",
"path": "/users/@me/guilds",
"inputs": {
"parameters": [
{
"name": "limit",
"in": "query",
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"default": 100,
"description": "Maximum number of guilds to return."
},
{
"name": "before",
"in": "query",
"schema": {
"type": "string"
},
"description": "Guild snowflake to paginate backward from."
},
{
"name": "after",
"in": "query",
"schema": {
"type": "string"
},
"description": "Guild snowflake to paginate forward from."
},
{
"name": "with_counts",
"in": "query",
"schema": {
"type": "boolean"
},
"description": "Whether to include approximate member and presence counts."
}
]
},
"approvalMode": "automatic",
"requestBodyMode": "none",
"resultMode": "json_summary"
}
Workflows
Guild Channel Post Check
Future workflow template for inspecting guilds, narrowing to a channel, and drafting an operator-reviewed message post.