v1

latestOpenAPI 3.1.02026-07-222392081.7 MB
OAuth2

Generate tokens

Exchange authorization code for access token or refresh an existing token.

post/oauth/tokens

Request body

OR

Example request

{
  "resource": "https://api.hyperline.co/mcp"
}

Response

access_tokenstring required

Access token with which you will be able to access the Hyperline API on the organisation's behalf.

refresh_tokenstring

Refresh token with which you will be able to retrieve a new access token on this endpoint. The refresh token does not expire.

expires_innumber required

The number of seconds left before the app access token expires. Be sure to renew your app access token before this reaches zero.

token_type'bearer' required