Coder Social home page Coder Social logo

discord-api-endpoints's Introduction

Discord-Api-Endpoints

A list of useful Discord API endpoints

If you find any mistakes please create a Pull request.

X-Super-Properties Header

Discord now requires the X-Super-Properties HTTP header for some endpoints. Those endpoints are marked with an asterisk (*).

This header may be a new deterrent against bots. However, it does not provide personally-identifiable information. If you send a request to an endpoint, which requires the new header, it will return the following:

{
  "message": "Missing Access",
  "code": 50001
}

The new header is a Base64 string, which decodes to:

{
  "os": "Windows",
  "browser": "Discord Client",
  "release_channel": "canary",
  "client_version": "1.0.49",
  "os_version": "10.0.22621",
  "os_arch": "x64",
  "system_locale": "en-US",
  "client_build_number": "152450",
  "client_event_source": null
}

However, Discord only requires the following information in order to process the request:

{
  "os": "Windows",
  "client_build_number": 152450
}

This encodes to

ewogICJvcyI6ICJXaW5kb3dzIiwKICAiY2xpZW50X2J1aWxkX251bWJlciI6IDE1MjQ1MAp9

discord-api-endpoints's People

Contributors

greg6775 avatar 2m4u avatar pasindudushan avatar quadratickid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.