Skip to main content

I have tried to get pass the event types for segmentation API dynamically, is there any way we could pass the event types for segmentation dynamically?

Hey @vignesh09 

Bit confused here as the title of your question seems to be different from the body

Re. “How to get event name through REST API for existing chart in segmentation”, you can refer to the following posts.

https://community.amplitude.com/instrumentation%2Dand%2Ddata%2Dmanagement%2D57/how%2Dto%2Dget%2Deventtype%2Dthrough%2Ddashboard%2Drest%2Dapi%2D138

In short, the existing chart endpoint doesn’t support returning the event name in the response.


Sorry I was asking how do we get the segment types that is being passed as a parameter in the REST API? Is there any way we can get the segments and event param dynamically?


Reply