Unable to get Access token and Refresh token

118 views
Skip to first unread message

Shivani Yadav

unread,
Dec 28, 2020, 9:36:24 AM12/28/20
to DrChrono API Developers
Hi, 

I had created a 
* GET request at https://drchrono.com/o/authorize/ for authorization and as soon as we click on authorize we redirect to our redirect URL with code value in params, 
then 
*POST
I made a post request on https://drchrono.com/o/token/  via  postman with this
{
"code":"x4xzqXXjlBWeeQxEzjyE8thFTIW0eT",
"grant_type": "authorization_code",
"redirect_uri": "https://www.unthinkable.co/",
"client_id": " ",
"client_secret": ""
}

client_id and client_secret value taken from DrChrono API management page.
After making a post I get "400 bad requests" in response 
I am not getting what that thing I am missing.
Can anyone help me with this??

Thanks.


bri...@drchrono.com

unread,
Dec 28, 2020, 9:40:02 AM12/28/20
to DrChrono API Developers
Hey Shivani,

We have an article here: http://drchronoapi.wpengine.com/connecting-to-drchronos-api-via-postman/ detailing how to connect to our API via Postman.

Let me know if you need further clarification or have additional questions,

Briggs

Reply all
Reply to author
Forward
0 new messages