expires_in) to proactively trigger a refresh.POST request to the Nxsys token endpoint to obtain a new access token.| Parameter | Type | Required | Description |
|---|---|---|---|
grantType | String | Yes | Must be set to refresh_token. |
refreshToken | String | Yes | The refresh token issued with the original access token. |
clientId | String | Yes | The unique client ID assigned to your application. |
clientSecret | String | Yes | The client secret associated with your application for secure authentication. |
POST request to the Nxsys token endpoint. Below is an example using curl:{
"accessToken": "NEW_ACCESS_TOKEN",
"refreshToken": "NEW_REFRESH_TOKEN",
"expiresIn": 3600,
"tokenType": "Nxsys-oauthtoken"
}Authorization header (e.g., Bearer Nxsys-oauthtoken NEW_ACCESS_TOKEN) for all subsequent API requests to Nxsys endpoints.YOUR_REFRESH_TOKEN, YOUR_CLIENT_ID, and YOUR_CLIENT_SECRET with your actual credentials.| Error Code | Description | Suggested Action |
|---|---|---|
invalid_grant | Invalid or expired refresh token | Re-authenticate to obtain a new refresh token |
invalid_client | Incorrect clientId or clientSecret | Verify your client credentials |
400 Bad Request | Missing or malformed request parameters | Check the request body for accuracy |