Pop up a contact record based on Phone number

SOLVE
Visitor

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

Accepted Solutions
Highlighted
Occasional Contributor

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.

Reply
0 Upvotes
3 Replies 3
Community Manager

Hi @rsurander,

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

Reply
0 Upvotes
Occasional Contributor

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

Reply
0 Upvotes
Highlighted
Occasional Contributor

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.

Reply
0 Upvotes