Skip to main content

Hi! Is there an endpoint available that allows me to only get my active subscribers?

I was only able to find this endpoint, which just returns all customers:

https://api.revenuecat.com/v2/projects/{projectId}/customers

I saw this old thread where this wasn't possible, but it would be great if it's been added since then.


Furthermore, I looked through the docs here, but wasn’t able to find an endpoint that just returns my active subscribers / free trials.

https://www.revenuecat.com/docs/api-v2#tag/Entitlement/operation/detach-products-from-entitlement

Same - I also need this. Any chance this could be added soon?


Hi! We do not currently have an endpoint to return just the active subscribers, however I will raise the suggestion internally. I would recommend taking a look at our Scheduled Data Exports in order to receive an export of all of your transactions. 


Hi! We do not currently have an endpoint to return just the active subscribers, however I will raise the suggestion internally. I would recommend taking a look at our Scheduled Data Exports in order to receive an export of all of your transactions. 

Thanks for the reply!

 

Tbh scheduled data export doesn’t work for my use case. I want to run monthly/weekly cohorts and do some actions on my premium subscribers. Fetching every customer and checking their status is not feasible.

 

What would you suggest?

 

Would love to see this sooner than later! <3


Hi! We do not currently have an endpoint to return just the active subscribers, however I will raise the suggestion internally. I would recommend taking a look at our Scheduled Data Exports in order to receive an export of all of your transactions. 

Ah, got it. Thanks so much for the info. That’s a bit of a shame, as having that endpoint would’ve definitely made things a lot easier for me. That said, I was able to get it working directly in the app, so all good for now.

Still, I’d certainly be in favour of adding that endpoint at some point.


Hi! We do not currently have an endpoint to return just the active subscribers, however I will raise the suggestion internally. I would recommend taking a look at our Scheduled Data Exports in order to receive an export of all of your transactions. 

Thanks for the reply!

 

Tbh scheduled data export doesn’t work for my use case. I want to run monthly/weekly cohorts and do some actions on my premium subscribers. Fetching every customer and checking their status is not feasible.

 

What would you suggest?

 

Would love to see this sooner than later! <3

Just to share what I’ve done in my situation: if your goal is to apply actions to premium subscribers on a weekly basis, could you maybe add a check in your app that only triggers once per week per user? For instance, when launching the app.

In my case, I would’ve loved to use a cron job, but since that wasn’t an option, I added logic in the code to make sure the action only runs once a week for each user. It’s definitely a workaround, but it’s been working well so far.


Reply