Hello, I've been trying to get the retention using a starting event and return event.
The cURL that i'm using (excluded the auth header):
https://amplitude.com/api/2/retention?se=\{"event_type":"ce:notification_open_event"\}&re=\{"event_type":"Start%20Session"\}&start=20210412&end=20210415
notification_open_event is a custom event and i'm trying to use the amplitude default event Start Session as well.
the cURL keeps returning 400: Bad Request (Unable to create definition from arguments)
the documentation (https://developers.amplitude.com/docs/dashboard-rest-api#retention-analysis) states that “Full event for the start action. Supports two "event_type" values: "_new" for new users, and "_active" for all users.”. Can it be a custom event as well? If not, what would be an alternative to do the same but with a custom event
Thanks!
Best answer by jarren.patao
View original