Auth

Refresh Auth Token

Changed on

Refresh the auth token using the refresh token

post/auth/refresh

Request

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

Request body

user_idstring required

User ID

refresh_tokenstring required

Refresh token for the user

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

    • breaking

      added the new required request property

    • breaking

      request body became required

    • breaking

      removed the media type application/*+json from the request body

    • breaking

      removed the media type text/json from the request body

    • breaking

      removed the media type text/json for the response with the status

    • breaking

      removed the media type text/plain for the response with the status

    • warning

      removed the request property

    • info

      api operation id RefreshAuth was added

    • info

      removed the non-success response with the status

    • 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 EliteAPIFeaturesAuthRefreshRefreshEndpoint removed and replaced with RefreshAuth