Hey, I'm working on an integration and wanted to ...
# questions
m
Hey, I'm working on an integration and wanted to know if its possible to retrieve the list of cohorts associated with a specific user. Following Mixpanel's documentation, I have to initiate a GET request to
/cohorts/list/engage
to acquire the cohort list within a project. Afterward, a subsequent POST request to
/query/engage
is required, passing the cohort ID using the key
filter_by_cohort
as the payload from the initial API call to obtain the list of users in a specific cohort. Is there a unified API that allows me to pass the user's ID as the payload, receiving their details and cohort information in the response?