APIs & Integrations

OmarCabello
Mitglied

Hubspot API Collection for Postman

lösung

Where can I download the Hubspot API Collection to import into Postman

1 Akzeptierte Lösung
lscanlan
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Hubspot API Collection for Postman

lösung

Hey guys. I was playing around recently with creating a Postman collection. You can do some pretty cool stuff like creating environments: https://learning.getpostman.com/docs/postman/environments_and_globals/manage_environments/, environment variables: https://learning.getpostman.com/docs/postman/environments_and_globals/variables_complete_reference/, writing test scripts: https://learning.getpostman.com/docs/postman/scripts/test_scripts, etc. So if you have any questions about it, feel free to follow up here. But we don't currently have a shareable collection.

 

As for searching companies through the API, currently you can search by an exact domain name match: https://developers.hubspot.com/docs/methods/companies/search_companies_by_domain. For searching a company by owner, I'd suggest voting on the idea thread here: https://community.hubspot.com/t5/HubSpot-Ideas/Search-contacts-companies-and-deals-by-custom-propert.... The more votes it gets, the more visibility and traction it'll receive. Otherwise I'd suggest pulling all companies via the endpoint documented here: https://developers.hubspot.com/docs/methods/companies/get-all-companies, along with adding a parameter of &properties=hubspot_owner_id , and then filtering after.

Leland Scanlan

HubSpot Developer Support

Lösung in ursprünglichem Beitrag anzeigen

7 Antworten
IsaacTakushi
HubSpot Employee
HubSpot Employee

Hubspot API Collection for Postman

lösung

Hi, @OmarCabello.

 

No official HubSpot Postman collection exists at this time, but it's good to know that people are asking for it. @lscanlan, were you exploring this possibility?

 

That said, is there anything specific I can help you with?

Isaac Takushi

Associate Certification Manager
OmarCabello
Mitglied

Hubspot API Collection for Postman

lösung

Hello Isaac, thank you for the response. I did have a question regarding the "Get all companies" api call (GET /companies/v2/companies/paged). 

 

Is there a way to get a list of companies filtered by the Company owner? Looks like there isn't a parameter to restrict the result. 

0 Upvotes
lscanlan
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Hubspot API Collection for Postman

lösung

Hey guys. I was playing around recently with creating a Postman collection. You can do some pretty cool stuff like creating environments: https://learning.getpostman.com/docs/postman/environments_and_globals/manage_environments/, environment variables: https://learning.getpostman.com/docs/postman/environments_and_globals/variables_complete_reference/, writing test scripts: https://learning.getpostman.com/docs/postman/scripts/test_scripts, etc. So if you have any questions about it, feel free to follow up here. But we don't currently have a shareable collection.

 

As for searching companies through the API, currently you can search by an exact domain name match: https://developers.hubspot.com/docs/methods/companies/search_companies_by_domain. For searching a company by owner, I'd suggest voting on the idea thread here: https://community.hubspot.com/t5/HubSpot-Ideas/Search-contacts-companies-and-deals-by-custom-propert.... The more votes it gets, the more visibility and traction it'll receive. Otherwise I'd suggest pulling all companies via the endpoint documented here: https://developers.hubspot.com/docs/methods/companies/get-all-companies, along with adding a parameter of &properties=hubspot_owner_id , and then filtering after.

Leland Scanlan

HubSpot Developer Support
OmarCabello
Mitglied

Hubspot API Collection for Postman

lösung

Thank you both for all your help.

IsaacTakushi
HubSpot Employee
HubSpot Employee

Hubspot API Collection for Postman

lösung

Thanks for jumping in, @lscanlan!

 

Ah yes, I've already upvoted that idea as well.

Isaac Takushi

Associate Certification Manager
0 Upvotes
TZiesing
Mitwirkender/Mitwirkende

Hubspot API Collection for Postman

lösung

The postman collection should be there now - according to this video?

Integration and API Workshop - July 2020 - YouTube

 

 

0 Upvotes
ANaik
Mitglied

Hubspot API Collection for Postman

lösung

Couldnt find the postman then didnt mention the link in the Video 😐

0 Upvotes