CUBSOFTWARE// CUB // CORRUPTED
Public API — Free to Use
← All APIs

Permission Decoder

Read a permission bitfield as a list of names, and back again. Free, no key, no account.

4
Response Fields
FREE
No API Key Needed
JSON
Response Format
Base URL
Base https://cubsoftware.site
Authentication
No API key required — this endpoint is publicly accessible.
Please include a descriptive User-Agent header identifying your app.
Permission Decoder
GET /api/permissions/{bitfield} Discord

Read a permission bitfield as a list of names, and back again.

ParameterTypeRequiredDescription
bitfield string optional A permission bitfield to read, as a URL segment.
value string optional The same bitfield, as a query parameter instead.
names string optional Comma-separated permission names to build a bitfield from.
Example Response
{
  "administrator": true,
  "bitfield": "8",
  "count": 1,
  "granted": [
    "Administrator"
  ]
}
curl 'https://cubsoftware.site/api/permissions/8'
Try It

Live request

Edit the path and send it. This runs against the real endpoint.

Press Send to run the request.
Rate Limits
10 requests per second per IP, across every endpoint.
Going over returns 429 — back off and retry.
The Other 45 APIs