We are using Intercom's direct integration with whatsapp. Earlier we were using a service called octopod which used to set the phone number and we used that and some intercom apis to add our custom attributes to intercom contacts. | Community
Skip to main content
Answer

We are using Intercom's direct integration with whatsapp. Earlier we were using a service called octopod which used to set the phone number and we used that and some intercom apis to add our custom attributes to intercom contacts.

  • May 17, 2022
  • 1 reply
  • 141 views

Since we migrated directly to intercom, there is no phone number attribute, there is a Whatsapp Number attribute on the intercom website but when we use the contact or conversation apis, we are unable to get the Whatsapp Number. How can we get the Whatsapp Number using contact ID ?

Best answer by Lisa B11

Hey @shashank k​ 👋

 

Have you tried using webhooks to see if that is included in the webhook payload? That might be worth a try if you haven't already. These are the webhook topics here: https://developers.intercom.com/intercom-api-reference/reference/webhook-models-1

 

You could select one that suits your needs and run a test to see if it includes the Whatsapp number.

 

That being said, a phone attribute should be included in the contact object as shown here https://developers.intercom.com/intercom-api-reference/reference/contacts-model

 

Hope this helps 🙌

1 reply

Forum|alt.badge.img+5
  • Employee
  • Answer
  • May 19, 2022

Hey @shashank k​ 👋

 

Have you tried using webhooks to see if that is included in the webhook payload? That might be worth a try if you haven't already. These are the webhook topics here: https://developers.intercom.com/intercom-api-reference/reference/webhook-models-1

 

You could select one that suits your needs and run a test to see if it includes the Whatsapp number.

 

That being said, a phone attribute should be included in the contact object as shown here https://developers.intercom.com/intercom-api-reference/reference/contacts-model

 

Hope this helps 🙌