Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to receive contact name via Twilio WhatsApp

I am using the Twilio API for WhatsApp in a sandbox, for prototyping and testing. According to the Facebook / WhatsApp documentation, there are several types of inbound notifications that may be delivered to your unique Webhook.

Twilio API documentation is very limited and doesn’t mention any of the more advanced scenarios. For example retrieving the customers name, which should be present in every webhook request…

When I inspect the webhook, the body payload is very limited. Is there any way to receive the original channelData?

like image 416
Mick Avatar asked Nov 01 '25 04:11

Mick


1 Answers

You can get the sender's name using the 'ProfileName' key from the request form.

like image 159
santi Avatar answered Nov 04 '25 19:11

santi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!