Discord Applications API

The Applications API from Discord — 12 operation(s) for applications.

OpenAPI Specification

discord-applications-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Discord Interactions Application Commands Applications API
  description: The Discord Interactions API enables applications to create and respond to application commands (slash commands), message components, and modals. It supports both Gateway-based and webhook-based interaction handling, allowing bots to build rich, interactive user experiences within Discord.
  version: '10'
  contact:
    name: Discord Support
    url: https://support-dev.discord.com/hc/en-us
    email: support@discord.com
  termsOfService: https://discord.com/developers/docs/policies-and-agreements/developer-terms-of-service
servers:
- url: https://discord.com/api/v10
  description: Discord API v10
security:
- BotToken: []
tags:
- name: Applications
paths:
  /applications/@me:
    get:
      operationId: get_my_application
      responses:
        '200':
          description: 200 response for get_my_application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateApplicationResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
    patch:
      operationId: update_my_application
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationFormPartial'
        required: true
      responses:
        '200':
          description: 200 response for update_my_application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateApplicationResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
  /applications/{application_id}/guilds/{guild_id}/commands/permissions:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: guild_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: list_guild_application_command_permissions
      responses:
        '200':
          description: 200 response for list_guild_application_command_permissions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CommandPermissionsResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.permissions.update
      tags:
      - Applications
  /applications/{application_id}/guilds/{guild_id}/commands/{command_id}/permissions:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: guild_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: command_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_guild_application_command_permissions
      responses:
        '200':
          description: 200 response for get_guild_application_command_permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandPermissionsResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.permissions.update
      tags:
      - Applications
    put:
      operationId: set_guild_application_command_permissions
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                permissions:
                  type:
                  - array
                  - 'null'
                  items:
                    $ref: '#/components/schemas/ApplicationCommandPermission'
                  maxItems: 100
        required: true
      responses:
        '200':
          description: 200 response for set_guild_application_command_permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandPermissionsResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.permissions.update
      tags:
      - Applications
  /applications/{application_id}/role-connections/metadata:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_application_role_connections_metadata
      responses:
        '200':
          description: 200 response for get_application_role_connections_metadata
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationRoleConnectionsMetadataItemResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
    put:
      operationId: update_application_role_connections_metadata
      requestBody:
        content:
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/ApplicationRoleConnectionsMetadataItemRequest'
              maxItems: 5
        required: true
      responses:
        '200':
          description: 200 response for update_application_role_connections_metadata
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationRoleConnectionsMetadataItemResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
  /applications/{application_id}/entitlements/{entitlement_id}/consume:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: entitlement_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    post:
      operationId: consume_entitlement
      responses:
        '204':
          description: 204 response for consume_entitlement
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.entitlements
      tags:
      - Applications
  /applications/{application_id}/guilds/{guild_id}/commands/{command_id}:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: guild_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: command_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_guild_application_command
      responses:
        '200':
          description: 200 response for get_guild_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    delete:
      operationId: delete_guild_application_command
      responses:
        '204':
          description: 204 response for delete_guild_application_command
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    patch:
      operationId: update_guild_application_command
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCommandPatchRequestPartial'
        required: true
      responses:
        '200':
          description: 200 response for update_guild_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
  /applications/{application_id}/guilds/{guild_id}/commands:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: guild_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: list_guild_application_commands
      parameters:
      - name: with_localizations
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: 200 response for list_guild_application_commands
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    put:
      operationId: bulk_set_guild_application_commands
      requestBody:
        content:
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/ApplicationCommandUpdateRequest'
              maxItems: 110
        required: true
      responses:
        '200':
          description: 200 response for bulk_set_guild_application_commands
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    post:
      operationId: create_guild_application_command
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCommandCreateRequest'
        required: true
      responses:
        '200':
          description: 200 response for create_guild_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        '201':
          description: 201 response for create_guild_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
  /applications/{application_id}/entitlements/{entitlement_id}:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: entitlement_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_entitlement
      responses:
        '200':
          description: 200 response for get_entitlement
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntitlementResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.entitlements
      tags:
      - Applications
    delete:
      operationId: delete_entitlement
      responses:
        '204':
          description: 204 response for delete_entitlement
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.entitlements
      tags:
      - Applications
  /applications/{application_id}/entitlements:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_entitlements
      parameters:
      - name: user_id
        in: query
        schema:
          $ref: '#/components/schemas/SnowflakeType'
      - name: sku_ids
        in: query
        schema:
          oneOf:
          - type: string
          - type: array
            items:
              oneOf:
              - type: 'null'
              - $ref: '#/components/schemas/SnowflakeType'
            maxItems: 100
            uniqueItems: true
        required: true
      - name: guild_id
        in: query
        schema:
          $ref: '#/components/schemas/SnowflakeType'
      - name: before
        in: query
        schema:
          $ref: '#/components/schemas/SnowflakeType'
      - name: after
        in: query
        schema:
          $ref: '#/components/schemas/SnowflakeType'
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: exclude_ended
        in: query
        schema:
          type: boolean
      - name: only_active
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: 200 response for get_entitlements
          content:
            application/json:
              schema:
                type: array
                items:
                  oneOf:
                  - type: 'null'
                  - $ref: '#/components/schemas/EntitlementResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.entitlements
      tags:
      - Applications
    post:
      operationId: create_entitlement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEntitlementRequestData'
        required: true
      responses:
        '200':
          description: 200 response for create_entitlement
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntitlementResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
  /applications/{application_id}/commands/{command_id}:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    - name: command_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_application_command
      responses:
        '200':
          description: 200 response for get_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    delete:
      operationId: delete_application_command
      responses:
        '204':
          description: 204 response for delete_application_command
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    patch:
      operationId: update_application_command
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCommandPatchRequestPartial'
        required: true
      responses:
        '200':
          description: 200 response for update_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
  /applications/{application_id}/commands:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: list_application_commands
      parameters:
      - name: with_localizations
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: 200 response for list_application_commands
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    put:
      operationId: bulk_set_application_commands
      requestBody:
        content:
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/ApplicationCommandUpdateRequest'
              maxItems: 110
        required: true
      responses:
        '200':
          description: 200 response for bulk_set_application_commands
          content:
            application/json:
              schema:
                type:
                - array
                - 'null'
                items:
                  $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
    post:
      operationId: create_application_command
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCommandCreateRequest'
        required: true
      responses:
        '200':
          description: 200 response for create_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        '201':
          description: 201 response for create_application_command
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCommandResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      - OAuth2:
        - applications.commands.update
      tags:
      - Applications
  /applications/{application_id}:
    parameters:
    - name: application_id
      in: path
      schema:
        $ref: '#/components/schemas/SnowflakeType'
      required: true
    get:
      operationId: get_application
      responses:
        '200':
          description: 200 response for get_application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateApplicationResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
    patch:
      operationId: update_application
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationFormPartial'
        required: true
      responses:
        '200':
          description: 200 response for update_application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateApplicationResponse'
        4XX:
          $ref: '#/components/responses/ClientErrorResponse'
      security:
      - BotToken: []
      tags:
      - Applications
components:
  schemas:
    ApplicationCommandStringOptionResponse:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 3
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
        name_localized:
          type:
          - string
          - 'null'
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        description:
          type: string
        description_localized:
          type:
          - string
          - 'null'
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        required:
          type:
          - boolean
          - 'null'
        autocomplete:
          type:
          - boolean
          - 'null'
        choices:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApplicationCommandOptionStringChoiceResponse'
        min_length:
          type:
          - integer
          - 'null'
          format: int32
        max_length:
          type:
          - integer
          - 'null'
          format: int32
      required:
      - type
      - name
      - description
    Int53Type:
      type: integer
      minimum: -9007199254740991
      maximum: 9007199254740991
      format: int64
    ApplicationCommandUserOptionResponse:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 6
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
        name_localized:
          type:
          - string
          - 'null'
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        description:
          type: string
        description_localized:
          type:
          - string
          - 'null'
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        required:
          type:
          - boolean
          - 'null'
      required:
      - type
      - name
      - description
    EntitlementTenantFulfillmentStatusResponse:
      type: integer
      oneOf:
      - title: UNKNOWN
        const: 0
      - title: FULFILLMENT_NOT_NEEDED
        const: 1
      - title: FULFILLMENT_NEEDED
        const: 2
      - title: FULFILLED
        const: 3
      - title: FULFILLMENT_FAILED
        const: 4
      - title: UNFULFILLMENT_NEEDED
        const: 5
      - title: UNFULFILLED
        const: 6
      - title: UNFULFILLMENT_FAILED
        const: 7
      format: int32
    ApplicationCommandSubcommandGroupOption:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 2
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
          minLength: 1
          maxLength: 32
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 32
          maxProperties: 34
        description:
          type: string
          minLength: 1
          maxLength: 100
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 100
          maxProperties: 34
        required:
          type:
          - boolean
          - 'null'
        options:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApplicationCommandSubcommandOption'
          maxItems: 25
      required:
      - type
      - name
      - description
    CommandPermissionResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SnowflakeType'
        type:
          $ref: '#/components/schemas/ApplicationCommandPermissionType'
        permission:
          type: boolean
      required:
      - id
      - type
      - permission
    ApplicationCommandAttachmentOptionResponse:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 11
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
        name_localized:
          type:
          - string
          - 'null'
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        description:
          type: string
        description_localized:
          type:
          - string
          - 'null'
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        required:
          type:
          - boolean
          - 'null'
      required:
      - type
      - name
      - description
    ApplicationCommandOptionIntegerChoice:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 100
          maxProperties: 34
        value:
          $ref: '#/components/schemas/Int53Type'
      required:
      - name
      - value
    ApplicationTypes:
      type: integer
      oneOf:
      - title: GUILD_ROLE_SUBSCRIPTIONS
        const: 4
      format: int32
    ApplicationCommandSubcommandGroupOptionResponse:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 2
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
        name_localized:
          type:
          - string
          - 'null'
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        description:
          type: string
        description_localized:
          type:
          - string
          - 'null'
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        required:
          type:
          - boolean
          - 'null'
        options:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ApplicationCommandSubcommandOptionResponse'
      required:
      - type
      - name
      - description
    ApplicationCommandBooleanOptionResponse:
      type: object
      properties:
        type:
          type: integer
          enum:
          - 5
          allOf:
          - $ref: '#/components/schemas/ApplicationCommandOptionType'
          format: int32
        name:
          type: string
        name_localized:
          type:
          - string
          - 'null'
        name_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        description:
          type: string
        description_localized:
          type:
          - string
          - 'null'
        description_localizations:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
        required:
          type:
          - boolean
          - 'null'
      required:
      - type
      - name
      - description
    OAuth2Scopes:
      type: string
      oneOf:
      - title: IDENTIFY
        description: allows /users/@me without email
        const: identify
      - title: EMAIL
        description: enables /users/@me to return an email
        const: email
      - title: CONNECTIONS
        description: allows /users/@me/connections to return linked third-party accounts
        const: connections
      - title: GUILDS
        description: allows /users/@me/guilds to return basic information about all of a user's guilds
        const: guilds
      - title: GUILDS_JOIN
        description: allows /guilds/{guild.id}/members/{user.id} to be used for joining users to a guild
        const: guilds.join
      - title: GUILDS_MEMBERS_READ
        description: allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild
        const: guilds.members.read
      - title: GDM_JOIN
        description: allows your app to join users to a group dm
        const: gdm.join
      - title: BOT
        description: for oauth2 bots, this puts the bot in the user's selected guild by default
        const: bot
      - title: RPC
        description: for local rpc server access, this allows you to control a user's local Discord client - requires Discord approval
        const: rpc
      - title: RPC_NOTIFICATIONS_READ
        description: for local rpc server access, this allows you to receive notifications pushed out to the user - requires Discord approval
        const: rpc.notifications.read
      - title: RPC_VOICE_READ
        description: for local rpc server access, this allows you to read a user's voice settings and listen for voice events - requires Discord approval
        const: rpc.voice.read
      - title: RPC_VOICE_WRITE
        description: for local rpc server access, this allows you to update a user's voice settings - requires Discord approval
        const: rpc.voice.write
      - title: RPC_VIDEO_READ
        description: for local rpc server access, this allows you to read a user's video status - requires Discord approval
        const: rpc.video.read
      - title: RPC_VIDEO_WRITE
        description: for local rpc server access, this allows you to update a user's video settings - requires Discord approval
        const: rpc.video.write
      - title: RPC_SCREENSHARE_READ
        description: for local rpc server access, this allows you to read a user's screenshare status- requires Discord approval
        const: rpc.screenshare.read
      - title: RPC_SCREENSHARE_WRITE
        description: for local rpc server access, this allows you to update a user's screenshare settings- requires Discord approval
        const: rpc.screenshare.write
      - title: RPC_ACTIVITIES_WRITE
        description: for local rpc server access, this allows you to update a user's activity - requires Discord approval
        const: rpc.activities.write
      - title: WEBHOOK_INCOMING
        description: this generates a webhook that is returned in the oauth token response for authorization code grants
        const: webhook.incoming
      - title: MESSAGES_READ
        description: for local rpc server api access, this allows you to read messages from all client channels (otherwise restricted to channels/guilds your app creates)
        const: messages.read
      - title: APPLICATIONS_BUILDS_UPLOAD
        description: allows your app to upload/update builds for a user's applica

# --- truncated at 32 KB (82 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/discord/refs/heads/main/openapi/discord-applications-api-openapi.yml