APIs & Integrations

JeroenCloudCTI
Contributor

Get company phone number in international format

Hi everyone,

 

I'm making a calling app that shows info about your contacts and companies matching the phone number of inbound/outbound calls.

 

When receiving call information from HubSpot via the calling SDK, they format the number for you. So if a user gave a record the phone number +1012345678, HubSpot sends it as +112345678 according to e164. 

 

Contacts have a property besides 'phone',  'hs_calculated_phone_number', which is e164. I can use that to be sure a leading 0 after the country code is not an issue. This way I can match to contacts that have either +1012345678 or +1012345678, or even +(1)12345678 as their 'phone'.

 

My question is: why isn't there a company property like this? It only has 'phone' which can contain a non-e164 value.

 

I can of course do normalisation on my end, but I feel like I'm either missing something or it is an oversight on the HubSpot side.

0 Upvotes
1 Reply 1
chighsmith
Community Manager
Community Manager

Get company phone number in international format

Hi @JeroenCloudCTI,

Thank you for posting to the Community!

I understand that you’re wondering why HubSpot companies don’t have a standardized, E164-formatted phone number property similar to contacts.

I'd like to tag in some of our Top Contributors to see if they have any insights or workarounds they’ve used in their own workflows.


Hi @HubSpot_Corey @Bryantworks and @AdamLPW Do you have any tips for @JeroenCloudCTI?

Cassie, Community Manager

 

 





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes