EcoNuker API
  • Welcome
  • Ratelimits
  • Auth Tokens
  • Items
  • Servers
  • Bot Information
  • Testing
  • Quickstart
    • Examples - Python
    • Examples - JS
Powered by GitBook
On this page

Auth Tokens

Explanation about EcoNuker's auth tokens.

Auth tokens have 3 levels of permissions.

  • Basic

  • Trusted

  • Admin

These auth tokens determine whether or not you can do a specific action.

There is also a "none" level of permission, below basic. This occurs when no auth token is inputted.

Auth tokens are to be sent as a header:

'Authorization': 'Your auth token'

You can verify an auth token with this route:

Token Verification

GET https://econuker.xyz/api/auth/verify/{token}

Verify an auth token. Do not pass the auth token through a header.

Path Parameters

Name
Type
Description

token*

String

/auth/verify/<token>

Example response:

{
    "token": "token here",
    "authlevel": "token's auth level"
}

PreviousRatelimitsNextItems

Last updated 2 years ago