Skip to main content

Need Help,
I want to fetch event count w.r.t. event properties  using API call

Hey @Ashwin Muni 

If you are looking at a general way to access the event schema and its metadata via API, then the Taxonomy API has some options.

If you want to query user data based on user_id as input, then here are a few endpoints which might help. But they may not guarantee the output format that you are expecting


Hey @Saish Redkar ,

Thanks for the reply. Let me explain my use case. I want to count “watch_post” event with respect to event property “analytics_user_id”. I will pass “analytics_user_id” value in API and it should return the event count with respect to the value. Can you help me in this regard? 

 

 


Thanks for explaining.

This could be achieved using the event segmentation endpoint of the Dashboard API. This essentially allows you to create most of your event segmentation chart results on the fly with API parameters.

You will have to format your API calls and pass in the desired value for event property by using the following docs


Reply