2.2 Refresh Token

Description

The access token only valid for 30 minutes. After that, you need to use the refresh token to get a new access token in order to use the API. This section will show you how to get the new access token using refresh token.


Request

Data Structure

Field Type Mandatory Remarks
RefreshToken String Yes

Sample

Url            : https://apiv2.unixus.com.my/Token/Refresh
Method         : POST
Content-Type   : application/json
Accept-Language: en
{ "RefreshToken" : "refresh_token" }

Response

Sample

{ "AccessToken" : "access_token", "Issued" : "2018-07-05T16:36:14+08:00", "Expires" : "2018-07-05T17:06:14+08:00" }
Copyright © 2019 Unixus Solutions Sdn. Bhd. All rights reserved.