Hi,
I’m trying to call event segmentation API and the sample curl request is as shown below. i’m getting 400 response. could you please help me identify the issue here?
curl --location -g --request GET 'https://amplitude.com/api/2/events/segmentation?start=20220704&end=20220707&s=p{"prop": "gp:customer_type","op": "is","values": s"New"]}]&e={"event_type": "OnPricingPage", "filters": s{"subprop_type": "event","subprop_key": "signed_in","subprop_op": "is","subprop_value": e"True"]}}'