
How does MyGate knows about my Swiggy order?
Whenever I place order from Swiggy and delivery partner is about to leave for delivery, I get the notification from MyGate for pre-approval. How does this work? Whats the tech/system-design? Is it phone number based or flat number based?

There are two things. There’s a MyGate apartment mapping at Swiggy’s Location Intelligence side, so it knows if it’s a MyGate enabled place of interest, and this list is updated regularly. When the order gets picked up, Swiggy calls a MyGate API using your phone number, POI and address details for pre-approval. The MyGate OTP is also shared with the driver on their app.
Zomato has the same integration, and even with NoBrokerHood.

Nice!

Is the phone number shared? Mygate says only the address is shared, not the phone number, which I think is true because the notification goes to everyone on the address, not just the person who ordered it. https://mygate.com/validated-entries-new/
