AnsweredAssumed Answered

API: How do refresh tokens work?

Question asked by Geoffrey Gross on Jul 29, 2016
Latest reply on Jul 30, 2016 by Alex Clement

I am trying to us e a refresh token to get a new access token, but I keep getting a 500 error.



Here is my request:


payload = {

    'client_id': client_id,

    'client_secret': client_secret,

    'grant_type': 'refresh_token',

    'refresh_token': refresh_token


response ='https://<account_name>', headers={'Content-Type': 'application/json'}, json=payload)

print response