JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MessageType",
"title": "MessageType",
"type": "integer",
"oneOf": [
{
"title": "DEFAULT",
"description": "",
"const": 0
},
{
"title": "RECIPIENT_ADD",
"description": "",
"const": 1
},
{
"title": "RECIPIENT_REMOVE",
"description": "",
"const": 2
},
{
"title": "CALL",
"description": "",
"const": 3
},
{
"title": "CHANNEL_NAME_CHANGE",
"description": "",
"const": 4
},
{
"title": "CHANNEL_ICON_CHANGE",
"description": "",
"const": 5
},
{
"title": "CHANNEL_PINNED_MESSAGE",
"description": "",
"const": 6
},
{
"title": "USER_JOIN",
"description": "",
"const": 7
},
{
"title": "GUILD_BOOST",
"description": "",
"const": 8
},
{
"title": "GUILD_BOOST_TIER_1",
"description": "",
"const": 9
},
{
"title": "GUILD_BOOST_TIER_2",
"description": "",
"const": 10
},
{
"title": "GUILD_BOOST_TIER_3",
"description": "",
"const": 11
},
{
"title": "CHANNEL_FOLLOW_ADD",
"description": "",
"const": 12
},
{
"title": "GUILD_DISCOVERY_DISQUALIFIED",
"description": "",
"const": 14
},
{
"title": "GUILD_DISCOVERY_REQUALIFIED",
"description": "",
"const": 15
},
{
"title": "GUILD_DISCOVERY_GRACE_PERIOD_INITIAL_WARNING",
"description": "",
"const": 16
},
{
"title": "GUILD_DISCOVERY_GRACE_PERIOD_FINAL_WARNING",
"description": "",
"const": 17
},
{
"title": "THREAD_CREATED",
"description": "",
"const": 18
},
{
"title": "REPLY",
"description": "",
"const": 19
},
{
"title": "CHAT_INPUT_COMMAND",
"description": "",
"const": 20
},
{
"title": "THREAD_STARTER_MESSAGE",
"description": "",
"const": 21
},
{
"title": "GUILD_INVITE_REMINDER",
"description": "",
"const": 22
},
{
"title": "CONTEXT_MENU_COMMAND",
"description": "",
"const": 23
},
{
"title": "AUTO_MODERATION_ACTION",
"description": "",
"const": 24
},
{
"title": "ROLE_SUBSCRIPTION_PURCHASE",
"description": "",
"const": 25
},
{
"title": "INTERACTION_PREMIUM_UPSELL",
"description": "",
"const": 26
},
{
"title": "STAGE_START",
"description": "",
"const": 27
},
{
"title": "STAGE_END",
"description": "",
"const": 28
},
{
"title": "STAGE_SPEAKER",
"description": "",
"const": 29
},
{
"title": "STAGE_TOPIC",
"description": "",
"const": 31
},
{
"title": "GUILD_APPLICATION_PREMIUM_SUBSCRIPTION",
"description": "",
"const": 32
},
{
"title": "GUILD_INCIDENT_ALERT_MODE_ENABLED",
"description": "",
"const": 36
},
{
"title": "GUILD_INCIDENT_ALERT_MODE_DISABLED",
"description": "",
"const": 37
},
{
"title": "GUILD_INCIDENT_REPORT_RAID",
"description": "",
"const": 38
},
{
"title": "GUILD_INCIDENT_REPORT_FALSE_ALARM",
"description": "",
"const": 39
}
],
"format": "int32"
}
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-messagetype"
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.