How to renew expired bearer token? | Community
Skip to main content

How to renew expired bearer token?

  • April 30, 2021
  • 3 replies
  • 0 views

Hi 

We have an integration towards Zendesk using Zendesk API endpoints and to some extent the search API. We have been using an API token for some time now, but it stopped working 2 days ago. I am given the log message "The access token provided is expired, revoked, malformed or invalid for other reasons".
We have the token hardcoded, so I can tell no one has changed it. That makes me suspect that it has expired. How do I go about renewing my token. 

3 replies

Brett13
  • Community Manager
  • April 30, 2021

Hey Marcus,

You should be able to create a new OAuth token using the steps mentioned in this article: Creating and using OAuth tokens with the API

I hope this points you in the right direction!


  • April 3, 2023

@brett13 : Can you please when this bearer token expires..When we generate token there is no expiration time attached to it ?


Cheeny
  • April 5, 2023
Hi Amit, 

That is correct! A token doesn't expire but it can be revoked. More information may be found here: OAuth Tokens