Body
application/json
curl --request POST \
--url https://api.hyperline.co/v1/oauth/tokens \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"client_secret": "<string>",
"grant_type": "authorization_code",
"code": "<string>",
"redirect_uri": "<string>"
}'{
"access_token": "<string>",
"refresh_token": "<string>",
"expires_in": 123,
"token_type": "bearer"
}Exchange an auth code received at the authorize endpoint for an actual access token, or refresh it.
curl --request POST \
--url https://api.hyperline.co/v1/oauth/tokens \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"client_secret": "<string>",
"grant_type": "authorization_code",
"code": "<string>",
"redirect_uri": "<string>"
}'{
"access_token": "<string>",
"refresh_token": "<string>",
"expires_in": 123,
"token_type": "bearer"
}Was this page helpful?