/
DI
discord
/
Discord HTTP API (Preview)
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v54
latest
OpenAPI 3.1.0
MIT
raw.githubusercontent.com
2026-07-21
242
539
1.1 MB
post
/channels/{channel_id}/messages
Request body
MessageCreateRequest
required
content
string
nullable
embeds
RichEmbed[]
nullable
allowed_mentions
MessageAllowedMentionsRequest
sticker_ids
SnowflakeType[]
nullable
components
union[]
nullable
flags
integer
nullable
attachments
MessageAttachmentRequest[]
nullable
poll
PollCreateRequest
shared_client_theme
CustomClientThemeShareRequest
message_reference
MessageReferenceRequest
nonce
union
enforce_nonce
boolean
nullable
tts
boolean
nullable
Response
200 response for create_message
MessageResponse
required
type
union
required
content
string
required
mentions
UserResponse[]
required
mention_roles
SnowflakeType[]
required
attachments
MessageAttachmentResponse[]
required
embeds
MessageEmbedResponse[]
required
timestamp
string
date-time
required
edited_timestamp
string
date-time
nullable
required
flags
integer
required
components
union[]
required
stickers
union[]
sticker_items
MessageStickerItemResponse[]
id
string
snowflake
required
channel_id
string
snowflake
required
author
UserResponse
required
pinned
boolean
required
mention_everyone
boolean
required
tts
boolean
required
call
MessageCallResponse
activity
MessageActivityResponse
application
BasicApplicationResponseWithBot
application_id
string
snowflake
interaction
MessageInteractionResponse
nonce
union
webhook_id
string
snowflake
message_reference
MessageReferenceResponse
thread
ThreadResponse
mention_channels
MessageMentionChannelResponse[]
role_subscription_data
MessageRoleSubscriptionDataResponse
purchase_notification
PurchaseNotificationResponse
position
integer
resolved
ResolvedObjectsResponse
poll
PollResponse
shared_client_theme
CustomClientThemeResponse
interaction_metadata
union
message_snapshots
MessageSnapshotResponse[]
lobby_member
MessageLobbyMemberResponse
reactions
MessageReactionResponse[]
referenced_message
BasicMessageResponse