use API contacts

We would like to know how we can consult the customer's phone number via API?

Consulta Contacts: https://api.hubapi.com/crm/v3/objects/contacts?limit=10&archived=false&hapikey=04fac28e-acb1-46aa-8d52-8c0cb0e75ce2

Consulta ID Contact: https://api.hubapi.com/crm/v3/objects/contacts/101?archived=false&hapikey=04fac28e-acb1-46aa-8d52-8c0cb0e75ce2

Consulta Companies: https://api.hubapi.com/crm/v3/objects/companies?limit=10&archived=false&hapikey=04fac28e-acb1-46aa-8d52-8c0cb0e75ce2

Consulta ID Companie: https://api.hubapi.com/crm/v3/objects/companies/3137229502?archived=false&hapikey=04fac28e-acb1-46aa-8d52-8c0cb0e75ce2

using the api you can pass in the URL what props you want if you dont want to pull the whole set of props. just app &property=phone .. the &property param can be use multiple time in the same request. So, you can request all the props you need from the user. I would recommend using the get contact by email api endpoind

https://developers.hubspot.com/docs/methods/contacts/get_contact_by_email

BTW. if that is your api in production you should remove it from this portal.

tesf

16x16_robot-very-happy.png.png
If this helped you solve you issue please consider selecting this post as the answer to your question

Via e-mail it is impossible, because I will consult in your CRM when I receive a call, so this consultation should be via phone

you could try to sync your contacts with and external application on your own servers to create and index of phonenumner/users id and use that to get the user ID and pull their information from hubspot. There is no api endpoind that will let you find a contact using their phone number or other prop other than email/name or user id

do you have any API to record calls from a PBX in CRM?