I am calling https://profile-api.amplitude.com/v1/userprofile endpoint with required params but I see that cohort_ids is always an empty array for every user id. Why is this the case? Even though the users are part of many cohorts.
Hi preyansh.
This is Yuanyuan from the Amplitude Support team - thank you for writing this post!
It would appear that in order to get Cohort IDs, you need to the use User Profile API alongside the Recommend package. It can also be used separately to recommend but only to get the user properties.
In case you are interested in the Recommend package, please let me know. I will gladly connect you with the Sales team for further discussion.
I hope this is helpful to you. Please let me know if you have follow-up questions!
Best,
How do I transfer data from one amplitude account to another? It seems all the community chats about this have completely broken links. Easy to export, no way to import, very frustrating. :(
When using @amplitude/plugin-web-vitals-browser with Create React App v4 (react-scripts@4.0.3), the build fails with: ./node_modules/@amplitude/plugin-web-vitals-browser/node_modules/web-vitals/dist/web-vitals.js<br /><br />SyntaxError:…
Hello, I'm using SpringBoot and Kotlin to integrate with the Amplitude Export API. The official Amplitude documentation (https://amplitude.com/docs/apis/analytics/export) states that "data is available to export at a minimum within 2 hours of when the servers received it." However, there's no clear information about the…
Hello, Is there a way to make a query like: “Give me all the users that have the user property X equal to 10”, by using just any of the APIs, without making a cohort first through the Amplitude’s UI? Thank you!
Hi, I’m trying to create a chart in Amplitude using the Page Viewed: Cart event, measured as Uniques, over the past 7 days. However, I keep getting this error on the graph: "An error occurred while loading your data. (400 status code)" Other events seem to load fine, so it looks specific to this event or configuration. Has…