Permissions Decode

Discord Permissions Decode Endpoint

The Permissions Decode endpoint is an easy way to get all of the permissions a discord bitfield permission code has, it returns the permissions an easy and readable format, in an array.

Endpoint

  • URL: https://api.erensko.xyz/v1/discord-permissions

  • Method: GET

  • Description: Returns all the permissions of a discord permission code.

URL Parameters

Key
Value

code

The discord permission code to decode.

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

GET https://api.erensko.xyz/v1/discord-permissions?code=38383

Response Example

{
    "permissions": [
        "CREATE_INSTANT_INVITE",
        "KICK_MEMBERS",
        "BAN_MEMBERS",
        "ADMINISTRATOR",
        "MANAGE_GUILD",
        "ADD_REACTIONS",
        "VIEW_AUDIT_LOG",
        "PRIORITY_SPEAKER",
        "VIEW_CHANNEL",
        "SEND_TTS_MESSAGES",
        "ATTACH_FILES"
    ]
}

Last updated