Projects
LineItems
Pricing & Feasibility
Models
Events
Models
Invoicing
Reconciliation
Attributes
Categories
Countries & Languages
Supplier Sources
Metadata
Quota Plan Templates
Models
Powered by Stoplight
post

/token/refresh

Access tokens have a limited lifetime but can be refreshed for a new token before they expire. The response from refreshing a token is the same as the response from obtaining the original access token. The accessToken and refreshToken from the response should replace the current session’s accessToken and refreshToken. A typical practice is to periodically refresh the access token as long as the user remains logged in.

Request Body

1 Example
Schema
object
clientId
string
required
refreshToken
string
required

Responses

1 Example
Schema
object
accessToken
string
expiresIn
integer
refreshExpiresIn
integer
refreshToken
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.