Reputation: 219
When listing our Twilio phone numbers using the Twilio REST API (https://www.twilio.com/docs/sms/services/api/phonenumber-resource), a Whatsapp phone number appears as any other phone number.
There doesn't seem to be a specific capability for Whatsapp. We can only see voice, sms, mms and fax capabilities:
"capabilities": {
"voice": true,
"sms": false,
"mms": false,
"fax": true
},
What info can we use to identify a phone number as a Whatsapp phone number when using the Twilio REST API?
We tried using the Node Twilio module (v2.9.2 and v3.33.2).
Thanks,
Upvotes: 0
Views: 815
Reputation: 73075
Twilio developer evangelist here.
I'm sorry to say that there is not currently a way to determine if a number in your account is enabled for WhatsApp. I am seeing if the channels and phone numbers team can collaborate to enable this information in the API, but it is not connected right now.
Upvotes: 2