Skip to main content

Hello,

 

I was able to gain Oauth2 access token in my app using “authorization_code” grant type to get list of zaps for the platform user. it was giving me a access_token and refresh_token.

 

Now, I was not able to renew the new access token using refresh_token. Can someone help me to guide me on how to get this?

POSTMAN example I have tried (didn’t works):
URI  https://zapier.com/oauth/token/
Request : POST
Content-Type : “application/x-www-form-urlencoded”
Data

  {

    "grant_type": "refresh_token",

    "refresh_token": "REFRESH_TOKEN"

  }

Header : Authorize : “Basic base64(client_id+client_secret)”

--- RESPONSE---

{

    "error": "unauthorized_client"

}

Appreciate your support.
  

Hi @nameisbk 

For us to have full context, post screenshots with how your steps are outlined and configured.


@Troy Tessalone 

 

We are integrating Zapier in our app through Partner API’s hence there are no steps which I can make a screenshot and put it here. 

What I’m trying to get the access token out using refresh-token. Where I’m facing an issues. 

Oauth2 standard is to get renewed access token from refresh token as the same way what we got the access token initial but it seems in Zapier it was not working properly or may be I’m not supplying param’s properly.

 

Hope this gives you more detailed context.