APIs & Integrations

rsurander
Member

Pop up a contact record based on Phone number

SOLVE

Hi All,

I am looking for the most ideal way to achieve this for my call center where an incoming call from my PBX should pull up the contact information. In case none exists a new contact window should be launched with the number populated.

Any help is appreciated. Thanks

1 Accepted solution
JoyHanawa
Solution
Participant

Pop up a contact record based on Phone number

SOLVE

I figured out the answer to my question.

https://api.hubapi.com/contacts/v1/search/query?hapikey=YourAPIKey&property=phone&q=1234567890

Returns the record for that phone number.

View solution in original post

0 Upvotes
3 Replies 3
JoyHanawa
Participant

Pop up a contact record based on Phone number

SOLVE

Were you able to query the contact by phone? I'm working on a call pop integration with Vonage. The link to the documentation states " Search for contacts by email, name, or company name" it doesn't say phone. If you were able to make this work, would you mind posting your API call? e.g.
https://api.hubapi.com/contacts/v1/search/query?q=testingapis&hapikey=demo
I tried query?phone=760* but that did not work.

Thanks,
Joy

0 Upvotes
JoyHanawa
Solution
Participant

Pop up a contact record based on Phone number

SOLVE

I figured out the answer to my question.

https://api.hubapi.com/contacts/v1/search/query?hapikey=YourAPIKey&property=phone&q=1234567890

Returns the record for that phone number.

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Pop up a contact record based on Phone number

SOLVE

Hi @rsurander,

You can search for a contact record by phone number using the following endpoint:

0 Upvotes