How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Discord Messages API

Operations on messages within channels

Discord Messages API is one of 29 APIs that Discord publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Message. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 12 operations across 7 paths, and defines 14 schemas. It is described by OpenAPI 3.1.0, at version 10.

Requests are made against a single base URL, https://discord.com/api/v10.

12 operations 7 paths 14 schemas 3 DELETE3 GET1 PATCH3 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
10
Base URL
https://discord.com/api/v10
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Discord Messages API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BotToken). By default, every request must be authenticated.

  • BotToken — Bot token authentication

Paths & Operations 12

Across 7 paths, the API surfaces 12 operations — 3 DELETE, 3 GET, 1 PATCH, 3 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Messages 12

Operations on messages within channels

GET
/channels/{channel_id}/messages
Discord List channel messages
getChannelMessages 5 params → 2004XX
POST
/channels/{channel_id}/messages
Discord Create message
createMessage 1 param body → 2004XX
GET
/channels/{channel_id}/messages/{message_id}
Discord Get message
getMessage 2 params → 2004XX
PATCH
/channels/{channel_id}/messages/{message_id}
Discord Edit message
editMessage 2 params body → 2004XX
DELETE
/channels/{channel_id}/messages/{message_id}
Discord Delete message
deleteMessage 2 params → 2044XX
POST
/channels/{channel_id}/messages/bulk-delete
Discord Bulk delete messages
bulkDeleteMessages 1 param body → 2044XX
PUT
/channels/{channel_id}/messages/{message_id}/reactions/{emoji_name}/@me
Discord Create reaction
createReaction 3 params → 2044XX
DELETE
/channels/{channel_id}/messages/{message_id}/reactions/{emoji_name}/@me
Discord Delete own reaction
deleteOwnReaction 3 params → 2044XX
POST
/channels/{channel_id}/messages/{message_id}/crosspost
Discord Crosspost message
crosspostMessage 2 params → 2004XX
GET
/channels/{channel_id}/pins
Discord Get pinned messages
getPinnedMessages 1 param → 2004XX
PUT
/channels/{channel_id}/pins/{message_id}
Discord Pin message
pinMessage 2 params → 2044XX
DELETE
/channels/{channel_id}/pins/{message_id}
Discord Unpin message
unpinMessage 2 params → 2044XX

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are Channel (25 properties), Message (20 properties), User (17 properties), Component (12 properties). Each schema is shown below with its type and property counts.

Message
object
20 properties 13 required
CreateMessageRequest
object
9 properties
Overwrite
object
4 properties
Channel
object
25 properties 2 required
ThreadMetadata
object
6 properties
EditMessageRequest
object
5 properties
User
object
17 properties 2 required
Component
object
12 properties 1 required
Embed
object
11 properties
Snowflake
string
Discord unique ID represented as a string
Reaction
object
5 properties
Attachment
object
10 properties 5 required
SelectOption
object
5 properties 2 required
Emoji
object
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

discord-messages-api-openapi.yml Raw ↑

Other APIs Discord publishes across the network.

Discord Gateway API
Discord Interactions API
Discord OAuth2 API
Discord Webhook Events API
Discord Embedded App SDK
Discord Voice API
Discord Social SDK
Discord Application Commands API
Discord Applications API
Discord Audit Log API
Discord Auto Moderation API
Discord Channels API
Where this information came from

This is an independent, third-party profile of Discord Messages API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.