K
Kinde2mo ago
Joshkop

Get list of users who consented to marketing emails

Hey there I cant find a way to either filter users or export them with data about kp_marketing_consent If we want to send out emails that would be like a must have feature The full User export doesnt contain this data The kinde.com admin users table has like no filters at all And the managment api does not have a way to filter the /api/v1/users query which allow us to filter based on those props Is there another way to simply get this data instead of having to get ALL users from the managment api and filtering on our end ?
5 Replies
IkiTg07
IkiTg072mo ago
Hey, i've tried on my end and can't find a way to acheive what you're looking for except for manually doing it. The team is actively working on a better experience in the dashboard. I'll pass your issue to them
Joshkop
JoshkopOP2mo ago
Alright Thanks for the input Does the managment api not expose the properties on the get users call ? https://kinde.com/api/docs/#get-users It says you can expand: Specify additional data to retrieve. Use "organizations" and/or "identities". Not properties correct ? So we would have to get all users and then make a request to GET /api/v1/users/{user_id}/properties for each user ? that seems like alot of api calls to me
IkiTg07
IkiTg072mo ago
Unfortunately i don't see any other way :/
Daniel_Kinde
Daniel_Kinde2mo ago
@Joshkop Thanks for your question. We are working on this feature to search on properties for early next year. How many users do you have in Kinde currently? Could you let me know what your kinde domain is?
Joshkop
JoshkopOP2mo ago
Thanks for the reply Good to know its coming. Is expanding the properties on the /api/v1/users also in planning ? We just left open beta and have like ~700 users But I'd really like to add an export feature to our own admin backend. And until theres either a filter or a way to include props it will have to call the get properties endpoint for each users Kinde Domain: madrigalheroes.kinde.com
Want results from more Discord servers?
Add your server