Refresh device or user token
Relevant Products
Refresh device or user token is available in BREEZE MFD PRO MFD
Use this endpoint to refresh device token or user token acquired from the public API /login call. Endpoint is available at /token
relative path.
Parameters:
client_id
: unique client ID. Use "api" value for user token acquired from the public APIclient_secret
: API keygrant_type
: refresh_tokenrefresh_token
: the refresh token
Return value:
The Error
object if error occurred, otherwise Token
JSON object with the following structure:
{
"token_type": "Bearer",
"expires_in": NNN,
"access_token": "xxx",
"refresh_token": "yyy"
}
token_type – Always “Bearer”.
expires_in – Access token expiration time in seconds.
access_token – A device access token.
refresh_token – The new refresh token.