Streaming live at 10am (PST)

Webflow api token expire after few weeks and keeps asking to “reauthorize your user”

Hi everyone!

I’m currently using webflow api to post data in CMS using cron and calling /info api every 1min to connect with Webflow and keep activating token, that all work correctly, but after every weeks, I get this error “This token is invalid. Please reauthorize your user”. Then I grab a new API token and the works again, but why does this keep happening? Not idea at all obviously. Thank you in advance!

api_url => https://api.webflow.com/info
Response => Array
(
[msg] => This token is invalid. Please reauthorize your user
[code] => 401
[name] => Unauthorized
[path] => /info
[err] => Unauthorized: This token is invalid. Please reauthorize your user
)