fixed

Important Changes to Oauth

By September 30th, 2022, we will be amending the Oauth response to express the expires_in attribute in seconds remaining e.g. 86400 will indicate the amount of seconds that the token is still valid.

From now on, please ensure your integration references expires_at to obtain the UNIX timestamp or adapt your Oauth request to handle the token validity in seconds via expires_in

{
    "access_token": "eyUj..VVg",
    "expires_at": 1655814137,    
    "expires_in": 1655814137,    <---- Currently expressed as UNIX timestamp
    "token_type": "Bearer",
    "scope": "{INTEGRATION_TYPE}"
}
{
    "access_token": "eyUj..VVg",
    "expires_at": 1655814137,    
    "expires_in": 86400,    <---- Will be expressed in seconds
    "token_type": "Bearer",
    "scope": "{INTEGRATION_TYPE}"
}