Refresh Access Token

Use this endpoint to exchange the Refresh Token you received during authorization for a new Access Token.

Refresh Access Token

POST https://auth.myeshopbox.com/api/v1/generateToken

This endpoint allows you to generate a new access token.

Headers

Name
Type
Description

Content-Type

string

application/json

Request Body

Name
Type
Description

grant_type

string

Denotes the flow you are using to generate Access Token. For Refresh Token Flow, use refresh_token.

client_id

string

Your application's Client ID.

client_secret

string

Your application's Client Secret.

refresh_token

string

The Refresh Token you received during authorization to obtain a new Access Token.

{
    "access_token": "eyJhbGci...kpXVCIsI",
    "id_token": "eUzI1Ni...I6IkpXsIm",
    "scope": "openid profile",
    "expires_in": 86400,
    "token_type": "Bearer"
}

Last updated