Hello!
I am using RevenueCat in my React Native app. I have recently started using the custom attribute and targeting features to dynamically show different offering options to subsets of users. I would like to periodically run a reconciliation between RevenueCat and my own backend to make sure that the attributes set on users in RevenueCat are correct, according to data stored in my database.
I’m unsure of how I can export custom attribute values for all users in the RevenueCat ecosystem. Things I’ve considered:
- Scheduled data exports - this seems to be driven by transactions, so users who haven’t made a purchase wouldn’t be included, and if a user’s attributes have changed from the time they last made a purchase, this wouldn’t be reflected.
- Using the Rest API https://api.revenuecat.com/v2/projects/{project_id}/customers. This endpoint doesn’t appear to return custom attributes, and only returns pages of 100 users.
- Manually creating a customer list and exporting via email. This seems most promising, but there appears to be a delay for custom attributes to update. It would also be nice if there was a programatic approach.
Have I overlooked an option? How would you recommend that I get a snapshot of all customers/attribute values at once?
Thank you!
