Auth

Log in with discord credentials

post/auth/login

Request

  • Base URL: https://api.eliteskyblock.com
  • URL: https://api.eliteskyblock.com/auth/login
  • Auth: none declared

Request body

codestring required

Discord login code from OAuth2

redirect_uristring required

Redirect URI from OAuth2

Response

Success

access_tokenstring required

Access token for the user

expires_instring nullable

Expiry date of the access token in Unix timestamp seconds

refresh_tokenstring required

Refresh token for the user

first_loginboolean required

If this is the user's first login

Changes

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      api operation id EliteAPIFeaturesAuthLoginLoginEndpoint removed and replaced with Login