Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| code | string | |
| inviter | object | |
| max_age | integernull | |
| created_at | stringnull | |
| expires_at | stringnull | |
| is_contact | booleannull | |
| flags | integernull | |
| guild | object | |
| guild_id | object | |
| channel | object | |
| stage_instance | object | |
| target_type | object | |
| target_user | object | |
| target_application | object | |
| guild_scheduled_event | object | |
| uses | integernull | |
| max_uses | integernull | |
| temporary | booleannull | |
| approximate_member_count | integernull | |
| approximate_presence_count | integernull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GuildInviteResponse",
"title": "GuildInviteResponse",
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "null"
},
{
"type": "integer",
"enum": [
0
],
"allOf": [
{
"$ref": "#/components/schemas/InviteTypes"
}
],
"format": "int32"
}
]
},
"code": {
"type": "string"
},
"inviter": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/UserResponse"
}
]
},
"max_age": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"created_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"is_contact": {
"type": [
"boolean",
"null"
]
},
"flags": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"guild": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/InviteGuildResponse"
}
]
},
"guild_id": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SnowflakeType"
}
]
},
"channel": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/InviteChannelResponse"
}
]
},
"stage_instance": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/InviteStageInstanceResponse"
}
]
},
"target_type": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/InviteTargetTypes"
}
]
},
"target_user": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/UserResponse"
}
]
},
"target_application": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/InviteApplicationResponse"
}
]
},
"guild_scheduled_event": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/ScheduledEventResponse"
}
]
},
"uses": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"max_uses": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"temporary": {
"type": [
"boolean",
"null"
]
},
"approximate_member_count": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"approximate_presence_count": {
"type": [
"integer",
"null"
],
"format": "int32"
}
},
"required": [
"code"
]
}
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-guildinviteresponse"
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.