add propeties to json

SOLVE
IvanSierra
Participant

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

Accepted Solutions
dennisedson
Solution
Community Manager

@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 

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

3 Replies 3
dennisedson
Solution
Community Manager

@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 

Thanks,

Dennis



Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

IvanSierra
Participant

Thanks Dennised.

webdew
Top Contributor | Diamond Partner

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.