How to get IP Address

How do we get users IP address from the bot?
this is for app bot

The IPs would be different region-wise.

IP whitelisting Ingress IPs to be whitelisted for platform traffic (Traffic is from Clients--> Yellow AI)
yellow.ai

  1. 104.18.6.105
  2. 104.18.7.105

yellowmessenger.com

  1. 104.18.1.51
  2. 104.18.0.51

Regional Egress IPs to be whitelisted for outgoing traffic to customer API/Resources (Traffic is from YellowAI-->Customer)
R0

  1. 13.71.54.122
  2. 13.71.49.46
  3. 13.71.52.164

R1

  1. 20.74.181.155

R2

  1. 34.101.150.207

R3

  1. 18.138.125.225
  2. 18.139.149.20
  3. 13.213.140.63

R4

  1. 35.84.216.215
  2. 35.83.102.39
  3. 34.212.108.52

R5

  1. 52.51.139.165
  2. 54.73.244.109
  3. 34.253.39.147
2 Likes

this is not about the bot IPs. Iā€™m asking the users IPs who using our bot

Hi @Hasan_Nabil,
Please access

data.profile.ip

for cloud and

app.profile.ip

for app.
to access the same.

Thank You.

3 Likes

Thank you @Subhrajit_Gupta

This can be extracted from WhatsApp bot??? @Subhrajit_Gupta