OAuth2
Generate tokens
Exchange an auth code received at the authorize endpoint for an actual access token, or refresh it.
POST
/
v1
/
oauth
/
tokens
Body
application/json
Application's client ID.
Application's client secret.
To exchange an auth code for an app access token, use authorization_code
.
Available options:
authorization_code
The auth code received when creating the authorization.
Must match the value set at the GET /authorize
endpoint.
Response
200 - application/json
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.
Available options:
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?