Access token expiration for trial end

Does an app’s API access token expire if a customer’s app trial has ended? This is for an app integration that a customer wanted to trial in the marketplace.

Hello there @oalbrecht!

What do you mean by an “app’s API access token”?

Are you referring to the token FROM THE USER you are using to access their data to make your app work?

API tokens from the users do not expire.

Having said that, you might be using seamless authentication for this. This would imply that you are using a shortLivedToken. Those expire after 60 seconds.

If you are not using seamless authentication and you are using OAuth, then you are and getting a permanent token.

Does this answer the question?

1 Like

Hi Matias. Thanks for the reply.

I was referring to the access tokens referred to in this page: OAuth and Permissions. At the end it says: “Access tokens do not expire and will be valid until the user uninstalls your app.”

I’m new to Monday, so I’m not sure if after a free trial has ended if that counts as the user uninstalling the app. If the free trial has ended, can the app still make API calls with the access token it received earlier?

I really appreciate your help!

Hello again @oalbrecht.

A trial ending will not make the token invalid.

But if you are monetizing with monday and you have a trial with no free plan, the app will become unusable for the account (monday enforces this).

If you do have a free plan, when the trial ends, the account goes to the free plan automatically and you can use the same token you have been using.

Cheers,
Matias

1 Like

Hello @Matias.Monday,

But if you are monetizing with monday and you have a trial with no free plan, the app will become unusable for the account (monday enforces this).

Could you please share in what what way this is enforced? Is there some standard paywall shown by monday on all screens (features) provided by our app?

Also, what happens when I call an API (e.g. get list of boards) from our backend using an OAuth token granted while the application was still in trial. Will it return the data or fail with “Unauthorized”?

Looking forward to hearing from you,
Mateusz

Hello there @ziolko-appfire,

As of today, in the marketplace screens, the user cannot start the use flow. They will only see the “See plans” button prompting them to purchase/upgrade the plan.

Outside the marketplace screens (when using monday’s UI), the only place in which we show something is the iframe app features (views) on seat-based monetization plans. We show an overlay that explains that prompts the user to purchase a subscription. But even in this case, there is an X that can be clicked by the user to close this overlaying window and continue using the app.

The developer must enforce the use of the correct plan.

1 Like