How to get email column

Hi, I want to get the email column, which API will be used?
…/api/analytics/v1/query/? session? or events,
and what column id will be used to get the data using my payload.
Thanks

Hi chohan!

Do you mean the user ID column? If so, it’s available in both event and session raw data API.

Hello Anthonybartczak
No I mean the email address of the user that i store in custom_event_name
but i want to know to extract it from the data present in that column (custom_event_name).
Thanks