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

The Users API from Discord — 9 operation(s) for users.

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

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

This API exposes 12 operations across 9 paths, and defines 30 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.

12 operations 9 paths 30 schemas 1 DELETE7 GET2 PATCH1 POST1 PUT

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 Users 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 12

Across 9 paths, the API surfaces 12 operations — 1 DELETE, 7 GET, 2 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Users 12
GET
/users/@me/connections
list_my_connections → 2004XX
POST
/users/@me/channels
create_dm body → 2004XX
GET
/users/@me/guilds
list_my_guilds 4 params → 2004XX
GET
/users/@me
get_my_user → 2004XX
PATCH
/users/@me
update_my_user body → 2004XX
GET
/users/@me/applications/{application_id}/role-connection
get_application_user_role_connection 1 param → 2004XX
PUT
/users/@me/applications/{application_id}/role-connection
update_application_user_role_connection 1 param body → 2004XX
GET
/users/@me/guilds/{guild_id}/member
get_my_guild_member 1 param → 2004XX
DELETE
/users/@me/guilds/{guild_id}
leave_guild 1 param → 2044XX
GET
/users/{user_id}
get_user 1 param → 2004XX
GET
/applications/@me
Discord Get current application
getCurrentApplication → 2004XX
PATCH
/applications/@me
Discord Edit current application
editCurrentApplication body → 2004XX

Schemas 30

The contract defines 30 schemas that model the data the API accepts and returns. The most detailed are User (17 properties), Application (17 properties), UserPIIResponse (16 properties), PrivateGuildMemberResponse (13 properties). Each schema is shown below with its type and property counts.

Int53Type
integer
UserAvatarDecorationResponse
object
CreatePrivateChannelRequest
object
3 properties
PremiumTypes
integer
PrivateGuildMemberResponse
object
13 properties 7 required
UserResponse
object
11 properties 5 required
ConnectedAccountGuildResponse
object
3 properties 2 required
ConnectedAccountVisibility
integer
MyGuildResponse
object
8 properties 5 required
UserPIIResponse
object
16 properties 7 required
Application
object
17 properties 4 required
AvailableLocalesEnum
string
ErrorResponse
object
Errors object returned by the Discord API
ErrorDetails
PrivateChannelResponse
object
6 properties 4 required
ConnectedAccountResponse
object
10 properties 7 required
ConnectedAccountIntegrationResponse
object
4 properties 4 required
IntegrationTypes
string
SnowflakeType
string
AccountResponse
object
2 properties 1 required
InnerErrors
object
1 property 1 required
GuildFeatures
string
ApplicationUserRoleConnectionResponse
object
3 properties
User
object
17 properties 2 required
Error
object
A single error, either for an API response or a specific field.
2 properties 2 required
PrivateGroupChannelResponse
object
11 properties 4 required
Snowflake
string
Discord unique ID represented as a string
ConnectedAccountProviders
string
BotAccountPatchRequest
object
3 properties 1 required
ChannelTypes
integer

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

discord-users-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 Users 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.