redirect_uri?code=CODE&state=STATE
code
{ "grant_type": "authorization_code", "code": "RECEIVED_CODE", "client_id": "YOUR_ID", "client_secret": "YOUR_SECRET", "redirect_uri": "YOUR_URI" }
curl --location 'https://id.geeroam.com/api/oauth2/token' \ --header 'Content-Type: application/json' \ --data '{ "grant_type": "authorization_code", "code": "RECEIVED_CODE", "client_id": "YOUR_ID", "client_secret": "YOUR_SECRET", "redirect_uri": "YOUR_URI" }'
{ "access_token": "string", "expires_in": 0, "scope": "string", "token_type": "Bearer" }