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 Invites API

The Invites API from Discord — 3 operation(s) for invites.

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

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

This API exposes 5 operations across 3 paths, and defines 43 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.

5 operations 3 paths 43 schemas 1 DELETE3 GET1 POST

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 Invites 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 5

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

Invites 5
GET
/invites/{code}
invite_resolve 3 params → 2004XX
DELETE
/invites/{code}
invite_revoke 1 param → 2004XX
GET
/channels/{channel_id}/invites
Discord List channel invites
getChannelInvites 1 param → 2004XX
POST
/channels/{channel_id}/invites
Discord Create channel invite
createChannelInvite 1 param body → 2004XX
GET
/guilds/{guild_id}/invites
Discord List guild invites
getGuildInvites 1 param → 2004XX

Schemas 43

The contract defines 43 schemas that model the data the API accepts and returns. The most detailed are Guild (34 properties), Channel (25 properties), InviteApplicationResponse (21 properties), GuildInviteResponse (21 properties). Each schema is shown below with its type and property counts.

Int53Type
integer
UserAvatarDecorationResponse
object
ThreadMetadata
object
6 properties
ApplicationTypes
integer
InviteChannelRecipientResponse
object
1 property 1 required
FriendInviteResponse
object
12 properties 1 required
GuildScheduledEventStatuses
integer
OAuth2Scopes
string
UserResponse
object
11 properties 5 required
InviteTargetTypes
integer
Emoji
object
8 properties
CreateInviteRequest
object
7 properties
VerificationLevels
integer
InviteTypes
integer
GuildScheduledEventEntityTypes
integer
Sticker
object
11 properties 4 required
InviteApplicationResponse
object
21 properties 5 required
ErrorResponse
object
Errors object returned by the Discord API
Invite
object
14 properties
ErrorDetails
Overwrite
object
4 properties
GuildInviteResponse
object
21 properties 1 required
GroupDMInviteResponse
object
8 properties 1 required
Channel
object
25 properties 2 required
SnowflakeType
string
InviteChannelResponse
object
5 properties 2 required
Guild
object
34 properties 2 required
ScheduledEventResponse
object
16 properties 7 required
InnerErrors
object
1 property 1 required
InviteGuildResponse
object
12 properties 3 required
ScheduledEventUserResponse
object
4 properties 2 required
Role
object
12 properties 8 required
GuildFeatures
string
RoleTags
object
6 properties
GuildNSFWContentLevel
integer
GuildMemberResponse
object
12 properties 7 required
User
object
17 properties 2 required
InviteStageInstanceResponse
object
4 properties 1 required
GuildScheduledEventPrivacyLevels
integer
Error
object
A single error, either for an API response or a specific field.
2 properties 2 required
ApplicationOAuth2InstallParamsResponse
object
2 properties 2 required
Snowflake
string
Discord unique ID represented as a string
ChannelTypes
integer

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

discord-invites-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 Invites 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.