Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| channel_id | object | |
| content | string | |
| attachments | array | |
| embeds | array | |
| timestamp | string | |
| edited_timestamp | stringnull | |
| flags | integer | |
| components | array | |
| resolved | object | |
| id | object | |
| author | object | |
| mentions | array | |
| mention_roles | array | |
| pinned | boolean | |
| mention_everyone | boolean | |
| tts | boolean | |
| call | object | |
| activity | object | |
| application | object | |
| application_id | object | |
| interaction | object | |
| nonce | object | |
| webhook_id | object | |
| message_reference | object | |
| thread | object | |
| mention_channels | arraynull | |
| stickers | arraynull | |
| sticker_items | arraynull | |
| role_subscription_data | object | |
| purchase_notification | object | |
| position | integernull | |
| reactions | arraynull | |
| referenced_message | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MessageResponse",
"title": "MessageResponse",
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/MessageType"
},
"channel_id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"content": {
"type": "string"
},
"attachments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MessageAttachmentResponse"
}
},
"embeds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MessageEmbedResponse"
}
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"edited_timestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"flags": {
"type": "integer",
"format": "int32"
},
"components": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/MessageComponentActionRowResponse"
},
{
"$ref": "#/components/schemas/MessageComponentButtonResponse"
},
{
"$ref": "#/components/schemas/MessageComponentChannelSelectResponse"
},
{
"$ref": "#/components/schemas/MessageComponentInputTextResponse"
},
{
"$ref": "#/components/schemas/MessageComponentMentionableSelectResponse"
},
{
"$ref": "#/components/schemas/MessageComponentRoleSelectResponse"
},
{
"$ref": "#/components/schemas/MessageComponentStringSelectResponse"
},
{
"$ref": "#/components/schemas/MessageComponentUserSelectResponse"
}
]
}
},
"resolved": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ResolvedObjectsResponse"
}
]
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"author": {
"$ref": "#/components/schemas/UserResponse"
},
"mentions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserResponse"
}
},
"mention_roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SnowflakeType"
},
"uniqueItems": true
},
"pinned": {
"type": "boolean"
},
"mention_everyone": {
"type": "boolean"
},
"tts": {
"type": "boolean"
},
"call": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageCallResponse"
}
]
},
"activity": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageActivityResponse"
}
]
},
"application": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/BasicApplicationResponse"
}
]
},
"application_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"interaction": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageInteractionResponse"
}
]
},
"nonce": {
"oneOf": [
{
"type": "integer",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"format": "int64"
},
{
"type": "string",
"maxLength": 25,
"format": "nonce"
},
{
"type": "null"
}
]
},
"webhook_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"message_reference": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageReferenceResponse"
}
]
},
"thread": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ThreadResponse"
}
]
},
"mention_channels": {
"type": [
"array",
"null"
],
"items": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageMentionChannelResponse"
}
]
}
},
"stickers": {
"type": [
"array",
"null"
],
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/GuildStickerResponse"
},
{
"$ref": "#/components/schemas/StandardStickerResponse"
}
]
}
},
"sticker_items": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/MessageStickerItemResponse"
}
},
"role_subscription_data": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/MessageRoleSubscriptionDataResponse"
}
]
},
"purchase_notification": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/PurchaseNotificationResponse"
}
]
},
"position": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"reactions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/MessageReactionResponse"
}
},
"referenced_message": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/BasicMessageResponse"
}
]
}
},
"required": [
"type",
"channel_id",
"content",
"attachments",
"embeds",
"timestamp",
"flags",
"components",
"id",
"author",
"mentions",
"mention_roles",
"pinned",
"mention_everyone",
"tts"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/discord-messageresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.