I'm trying to get User Info or Id who tried to open whatsapp flow(data_exchange). Is there any way for the same.. did not found anything on documentation.
The best way to do this is to leverage the flow_token
parameter which you can provide when you send the Flow message. Use unique flow_token
IDs and store a mapping in your database between the flow_token
and the user you are sending the Flow to.
Then when you get a data_exchange request, the payload will include the flow_token
. You can map it to the user on your end.