How to check if user is entitled at the moment via API?

  • 18 January 2024
  • 1 reply


I have everything configured perfectly, the problem is that when I make a call to:

I do not receive directly if the user has an activated entitlement. For example, if you have never been subscribed, it will not return any entitlement, but if you have already had an entitlement, you will have it in the response, even the current subscription is not active.

How are you verifying whether the user is currently subscribed or not via API? Do you compare the expiration date of the entitlement with the current date?

Wouldn't it be easier if the API returned directly whether the person has the active subscription or not?

1 reply

Userlevel 2
Badge +5

Hi! The RevenueCat recommendation is to check if the expiration date has passed or not in order to determine if an entitlement is still active. We wanted to make sure that we allowed for people to see historical data for subscriber information, including past entitlements, through the API and not just display the active ones, but I can provide your feedback regarding this difficulty internally.