Generate tokens
Exchange an auth code received at the authorize endpoint for an actual access token, or refresh it.
Body
Application's client ID.
Application's client secret.
To exchange an auth code for an app access token, use authorization_code
.
authorization_code
The auth code received when creating the authorization.
Must match the value set at the GET /authorize
endpoint.
Application's client ID.
Application's client secret.
To exchange an auth code for an app access token, use authorization_code
.
authorization_code
The auth code received when creating the authorization.
Must match the value set at the GET /authorize
endpoint.
Application's client ID.
Application's client secret.
To renew an app access token with a refresh token, use refresh_token
.
refresh_token
The refresh token received when creating the authorization.
Response
Access token with which you will be able to access the Hyperline API on the organisation's behalf.
The number of seconds left before the app access token expires. Be sure to renew your app access token before this reaches zero.
bearer
Refresh token with which you will be able to retrieve a new access token on this endpoint. The refresh token does not expire.
Was this page helpful?