Discord · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Discord HTTP API (Preview) Partner Sdk API

6 actions 6 updates phrasing extends openapi/discord-partner-sdk-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Discord's API. It is a proposal applied on top of the contract, not a document Discord publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/partner-sdk/dms/{user_id_1}/{user_id_2}/messages/{message_id}/moderation-metadata'].put
$.paths['/partner-sdk/provisional-accounts/unmerge'].post
$.paths['/partner-sdk/provisional-accounts/unmerge/bot'].post
$.paths['/partner-sdk/token'].post
$.paths['/partner-sdk/token/bot'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Discord HTTP API (Preview) Partner Sdk API
  version: 1.0.0
extends: openapi/discord-partner-sdk-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/partner-sdk/dms/{user_id_1}/{user_id_2}/messages/{message_id}/moderation-metadata'].put
  update:
    x-apievangelist-phrasing:
      intent: Update moderation metadata on a DM message
      effect: write
      questions:
      - How do I mark a direct message as flagged for moderation?
      - Can I set external moderation metadata on a DM message?
      instructions:
      - text: Set external moderation metadata on message {message_id} between {user_id_1} and {user_id_2}.
        slots:
          message_id: path.message_id
          user_id_1: path.user_id_1
          user_id_2: path.user_id_2
      - text: Flag DM {message_id} between {user_id_1} and {user_id_2} for external moderation.
        slots:
          message_id: path.message_id
          user_id_1: path.user_id_1
          user_id_2: path.user_id_2
      method: generated
      generated: '2026-11-15'
- target: $.paths['/partner-sdk/provisional-accounts/unmerge'].post
  update:
    x-apievangelist-phrasing:
      intent: Unmerge a provisional account (partner)
      effect: destructive
      questions:
      - How do I unmerge a provisional account as a partner?
      - Can I merge a provisional account back after unmerging it?
      instructions:
      - text: Unmerge provisional account {external_auth_token} of type {external_auth_type} for client {client_id}.
        slots:
          external_auth_token: requestBody.external_auth_token
          external_auth_type: requestBody.external_auth_type
          client_id: requestBody.client_id
      - text: Split provisional account {external_auth_token} ({external_auth_type}) for partner {client_id}.
        slots:
          external_auth_token: requestBody.external_auth_token
          external_auth_type: requestBody.external_auth_type
          client_id: requestBody.client_id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/partner-sdk/provisional-accounts/unmerge/bot'].post
  update:
    x-apievangelist-phrasing:
      intent: Unmerge a provisional account (bot)
      effect: destructive
      questions:
      - How do I unmerge a provisional account from a bot?
      - Can a bot unmerge its own provisional account?
      instructions:
      - text: Unmerge provisional account for bot user {external_user_id}.
        slots:
          external_user_id: requestBody.external_user_id
      - text: Split the bot's provisional account {external_user_id}.
        slots:
          external_user_id: requestBody.external_user_id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/partner-sdk/token'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a provisional account token (partner)
      effect: write
      questions:
      - How does a partner get a provisional account token?
      - What do I send to partner SDK to get a provisional account token?
      instructions:
      - text: Get a provisional account token for partner {client_id} with auth {external_auth_token} of type {external_auth_type}.
        slots:
          client_id: requestBody.client_id
          external_auth_token: requestBody.external_auth_token
          external_auth_type: requestBody.external_auth_type
      - text: Request a provisional account token for partner {client_id} using {external_auth_type} auth {external_auth_token}.
        slots:
          client_id: requestBody.client_id
          external_auth_type: requestBody.external_auth_type
          external_auth_token: requestBody.external_auth_token
      method: generated
      generated: '2026-11-15'
- target: $.paths['/partner-sdk/token/bot'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a provisional account token (bot)
      effect: write
      questions:
      - How does a bot get a provisional account token?
      - Can a bot request a provisional account token by external user ID?
      instructions:
      - text: Get a provisional account token for bot user {external_user_id}.
        slots:
          external_user_id: requestBody.external_user_id
      - text: Request a provisional account token for bot {external_user_id} with preferred name {preferred_global_name}.
        slots:
          external_user_id: requestBody.external_user_id
          preferred_global_name: requestBody.preferred_global_name
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discord-partner-sdk-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.