cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1047
Views
0
Helpful
3
Replies

Trying to use "refresh_token" to refresh an access token for api.cisco.com

zasellers
Level 1
Level 1

Hello,

I am trying to figure out how to obtain a new access token using a refresh token. I don't see any documentation describing the payload and/or headers and to which site to send the POST. I realize I could just request a new access token every time I make an API call, but I'd rather not go that route as I could be making thousands of calls per day.

Here is the json response from obtaining my access token:

{'access_token': 'abc123, 'refresh_token': 'xyz567', 'token_type': 'Bearer', 'expires_in': 3599}

The value of 'refresh_token' is what I want to use here.

Any suggestions would be greatly appreciated! Thanks in advance!

3 Replies 3

omz
VIP Alumni
VIP Alumni

Is refresh_token implemented and allowed for developer to refresh token?

Have you come across any documentation? 

 

Hello,

I'm not sure. Never came across any documentation. I sent an email to the support group, but haven't heard back yet. I'm just going to obtain a new access token and not worry about it.

Hey there,  api.cisco.com is the Cisco API console, and you'll probably get a faster response by using one of these contacts:


Support APIs - supportapis-help@cisco.com
Services APIs - https://community.cisco.com/t5/smart-net-total-care/ct-p/4891-smart-net-total-care
PSIRT APIs & API Console - https://community.cisco.com/t5/services-discussions/bd-p/j-disc-dev-services

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io