Skip to main content

Does access token expire?

  • March 11, 2021
  • 8 replies
  • 2356 views

On this page, at the bottom in state that: “Access tokens do not expire and will be valid until the user uninstalls your app” but if you look in the first table before it, you see this"An access token that can be used to make calls to the monday.com API. It is valid for 30 days."

So my question is, which one of this two statements is corect?

This topic has been closed for replies.

8 replies

dipro
Forum|alt.badge.img
  • Leader
  • March 11, 2021

Hey @catalin – good catch. The tokens we currently issue are valid forever (until the user uninstalls the app).

I’ve gone ahead and updated our docs with the correct information.


  • Author
  • Participating Frequently
  • March 12, 2021

One more question, I do not want to make a new thread only for this. How long can the access token be? I try to save it in my database.


AlexSavchuk
Forum|alt.badge.img
  • monday.com Team Member
  • March 12, 2021

@catalin

I’m so glad Dipro was able to help here! Just to make sure we’re on the same page here, are you referring to the number of characters in a token? Are you trying to limit the field to a certain number of symbols in your database?

-Alex


  • Author
  • Participating Frequently
  • March 13, 2021

Yes, what is the number of characters in a token?


Forum|alt.badge.img
  • monday.com Team Member
  • March 15, 2021

Hi @catalin,

It seems to be consistently 464 for me. I’m getting confirmation that this is always the case for you from our devs, but I’m sure you can also test this yourself for confirmation.

Hope this helps!


Forum|alt.badge.img
  • monday.com Team Member
  • March 16, 2021

Just heard back from our team, and the recommendation is a char limit of 2048, or 2KB as a ballpark.

Thanks!


  • Author
  • Participating Frequently
  • March 16, 2021

Thank you so much. I will update my code


  • March 23, 2021

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.