Simple discord id lookup api.
TOKEN=your-discord-bot-token
# ... Spacefile
public: true # set app to public
API is default to public, so make sure to secure your app url.
-
GET /id/{discordId}
Will return a user object.
{ "id": "475085200414605334", "username": "joshue?", "global_name": null, "display_name": null, "avatar": "3144b3c21c6969a51e702cdd8497ea2b", "avatar_decoration": null, "discriminator": "5745", "public_flags": 4194432, "banner": null, "banner_color": null, "accent_color": null }