APIs & Integrations

IvanSierra
Participant

add propeties to json

SOLVE

Good afternoon, I would like to know how I can add new properties to the json of those created internally by the company, for example, bring the nit in the json result?

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

add propeties to json

SOLVE

@IvanSierra 

You can specify properties to return in the url by adding a query parameter. 

Example, to get a property with an internal name of sport, I would add &properties=sport

https://api.hubapi.com/crm/v3/objects/companies?limit=10&properties=sport

You can test this out in the docs 

View solution in original post

3 Replies 3
webdew
Guide | Diamond Partner
Guide | Diamond Partner

add propeties to json

SOLVE

Hi @IvanSierra ,

You can use below url for fetching unique property in json result.
https://api.hubapi.com/crm/v3/objects/companies?properties=product



Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards. 

dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

add propeties to json

SOLVE

@IvanSierra 

You can specify properties to return in the url by adding a query parameter. 

Example, to get a property with an internal name of sport, I would add &properties=sport

https://api.hubapi.com/crm/v3/objects/companies?limit=10&properties=sport

You can test this out in the docs 

IvanSierra
Participant

add propeties to json

SOLVE

Thanks Dennised.