# Object request: Return ALL properties

**URL:** <https://community.hubspot.com/t/object-request-return-all-properties/83950>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [June 22, 2023, 7:11pm UTC](https://community.hubspot.com/t/object-request-return-all-properties/83950 "2023-06-22T19:11:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff00seattle](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jeff00seattle](https://community.hubspot.com/u/jeff00seattle)\
**Post date:** [June 22, 2023, 7:11pm UTC](https://community.hubspot.com/t/object-request-return-all-properties/83950/1 "2023-06-22T19:11:19Z")

</div>

Hello

I am looking at the Companies API endpoint

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-companies-v3%2Fguide)**

The goal is to gather every possible property w/ value for a specific object by id.

The number of properties associated with an object type, like Companies, both standard and custom properties, can be numerous.

I would prefer NOT to make two calls:

1. Get Schema of all properties for object type Companies.
2. Apply all property names gathered from Companies’ schema to a comma-separated list of the properties.

This would be a costly to perform two calls.

Another recommended approach?

Thank you

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [June 23, 2023, 8:44am UTC](https://community.hubspot.com/t/object-request-return-all-properties/83950/2 "2023-06-23T08:44:47Z")

</div>

Hi @jeff00seattle ,

How about making the API call to the schema only once every few hours to make sure that you have all properties and cache the results? You could also try the [v2 endpoint](https://legacydocs.hubspot.com/docs/methods/companies/get_company) to retrieve the full company, but I’m not sure if this endpoint will be deprecated.

---

<div class="post-metadata">

**Author:** ![jeff00seattle](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jeff00seattle](https://community.hubspot.com/u/jeff00seattle)\
**Post date:** [June 23, 2023, 9:08pm UTC](https://community.hubspot.com/t/object-request-return-all-properties/83950/3 "2023-06-23T21:08:51Z")

</div>

@Teun

\> _How about making (schemas) API call … to make sure that you have all properties and cache the results._

Cannot, our FAAS platform service will not have a cache, saving properties is not an option.

\> Y_ou could also try the [v2 endpoint](https://legacydocs.hubspot.com/docs/methods/companies/get_company) to retrieve the full company, but I’m not sure if this endpoint will be **deprecated**._

The **all properties output for v2 endpoint** is exactly what I am seeking!

1. v3 endpoint, Why is all properties dump per object not available?
2. v2 endpoint, How would this path be built for custom object types?
3. v2 endpoint, noticed that pagination is not provided, a feature I would like with v3. Provide a absurdly high value and all objects return. a) Can object count be determined before request? b) Does v3 have the same, gathering all objects without need for pagination? Because our FAAS platform does not have caching, v3 pagination is an issue.
4. v2 endpoint, Can selection of properties be specific instead of all?
5. v2 endpoint, How soon do you expect this to be deprecated?

---

<div class="post-metadata">

**Author:** ![jeff00seattle](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jeff00seattle](https://community.hubspot.com/u/jeff00seattle)\
**Post date:** [June 26, 2023, 1:23pm UTC](https://community.hubspot.com/t/object-request-return-all-properties/83950/4 "2023-06-26T13:23:52Z")

</div>

@Teun

Gathering all the property keys of the “Companies” schema from the “schemas” endpoint, building a “companies” endpoint request to return all properties is nearly 4800 characters long.

It would be better to have a key word (example “properties=all”):

_“/crm/v3/objects/companies?archived=false&limit=10&properties=all”_

Instead of:

_“/crm/v3/objects/companies?archived=false&limit=10&properties=about\_us%2Cclosedate\_timestamp\_earliest\_value\_a2a17e6e%2Cdemodata%2Cfacebookfans%2Cfirst\_contact\_createdate\_timestamp\_earliest\_value\_78b50eea%2Cfirst\_conversion\_date%2Cfirst\_conversion\_date\_timestamp\_earliest\_value\_61f58f2c%2Cfirst\_conversion\_event\_name%2Cfirst\_conversion\_event\_name\_timestamp\_earliest\_value\_68ddae0a%2Cfirst\_deal\_created\_date%2Cfounded\_year%2Chs\_additional\_domains%2Chs\_all\_assigned\_business\_unit\_ids%2Chs\_analytics\_first\_timestamp%2Chs\_analytics\_first\_timestamp\_timestamp\_earliest\_value\_11e3a63a%2Chs\_analytics\_first\_touch\_converting\_campaign%2Chs\_analytics\_first\_touch\_converting\_campaign\_timestamp\_earliest\_value\_4757fe10%2Chs\_analytics\_first\_visit\_timestamp%2Chs\_analytics\_first\_visit\_timestamp\_timestamp\_earliest\_value\_accc17ae%2Chs\_analytics\_last\_timestamp%2Chs\_analytics\_last\_timestamp\_timestamp\_latest\_value\_4e16365a%2Chs\_analytics\_last\_touch\_converting\_campaign%2Chs\_analytics\_last\_touch\_converting\_campaign\_timestamp\_latest\_value\_81a64e30%2Chs\_analytics\_last\_visit\_timestamp%2Chs\_analytics\_last\_visit\_timestamp\_timestamp\_latest\_value\_999a0fce%2Chs\_analytics\_latest\_source%2Chs\_analytics\_latest\_source\_data\_1%2Chs\_analytics\_latest\_source\_data\_2%2Chs\_analytics\_latest\_source\_timestamp%2Chs\_analytics\_num\_page\_views%2Chs\_analytics\_num\_page\_views\_cardinality\_sum\_e46e85b0%2Chs\_analytics\_num\_visits%2Chs\_analytics\_num\_visits\_cardinality\_sum\_53d952a6%2Chs\_analytics\_source%2Chs\_analytics\_source\_data\_1%2Chs\_analytics\_source\_data\_1\_timestamp\_earliest\_value\_9b2f1fa1%2Chs\_analytics\_source\_data\_2%2Chs\_analytics\_source\_data\_2\_timestamp\_earliest\_value\_9b2f9400%2Chs\_analytics\_source\_timestamp\_earliest\_value\_25a3a52c%2Chs\_annual\_revenue\_currency\_code%2Chs\_avatar\_filemanager\_key%2Chs\_created\_by\_user\_id%2Chs\_createdate%2Chs\_date\_entered\_customer%2Chs\_date\_entered\_evangelist%2Chs\_date\_entered\_lead%2Chs\_date\_entered\_marketingqualifiedlead%2Chs\_date\_entered\_opportunity%2Chs\_date\_entered\_other%2Chs\_date\_entered\_salesqualifiedlead%2Chs\_date\_entered\_subscriber%2Chs\_date\_exited\_customer%2Chs\_date\_exited\_evangelist%2Chs\_date\_exited\_lead%2Chs\_date\_exited\_marketingqualifiedlead%2Chs\_date\_exited\_opportunity%2Chs\_date\_exited\_other%2Chs\_date\_exited\_salesqualifiedlead%2Chs\_date\_exited\_subscriber%2Chs\_ideal\_customer\_profile%2Chs\_is\_target\_account%2Chs\_last\_booked\_meeting\_date%2Chs\_last\_logged\_call\_date%2Chs\_last\_open\_task\_date%2Chs\_last\_sales\_activity\_date%2Chs\_last\_sales\_activity\_timestamp%2Chs\_last\_sales\_activity\_type%2Chs\_lastmodifieddate%2Chs\_latest\_createdate\_of\_active\_subscriptions%2Chs\_merged\_object\_ids%2Chs\_num\_blockers%2Chs\_num\_contacts\_with\_buying\_roles%2Chs\_num\_decision\_makers%2Chs\_num\_open\_deals%2Chs\_object\_id%2Chs\_pinned\_engagement\_id%2Chs\_pipeline%2Chs\_predictivecontactscore\_v2%2Chs\_predictivecontactscore\_v2\_next\_max\_max\_d4e58c1e%2Chs\_read\_only%2Chs\_source\_object\_id%2Chs\_target\_account%2Chs\_target\_account\_probability%2Chs\_target\_account\_recommendation\_snooze\_time%2Chs\_target\_account\_recommendation\_state%2Chs\_time\_in\_customer%2Chs\_time\_in\_evangelist%2Chs\_time\_in\_lead%2Chs\_time\_in\_marketingqualifiedlead%2Chs\_time\_in\_opportunity%2Chs\_time\_in\_other%2Chs\_time\_in\_salesqualifiedlead%2Chs\_time\_in\_subscriber%2Chs\_total\_deal\_value%2Chs\_unique\_creation\_key%2Chs\_updated\_by\_user\_id%2Chs\_user\_ids\_of\_all\_notification\_followers%2Chs\_user\_ids\_of\_all\_notification\_unfollowers%2Chs\_user\_ids\_of\_all\_owners%2Chubspot\_owner\_assigneddate%2Cis\_public%2Cnum\_associated\_contacts%2Cnum\_associated\_deals%2Cnum\_conversion\_events%2Cnum\_conversion\_events\_cardinality\_sum\_d095f14b%2Crecent\_conversion\_date%2Crecent\_conversion\_date\_timestamp\_latest\_value\_72856da1%2Crecent\_conversion\_event\_name%2Crecent\_conversion\_event\_name\_timestamp\_latest\_value\_66c820bf%2Crecent\_deal\_amount%2Crecent\_deal\_close\_date%2Ctimezone%2Ctotal\_money\_raised%2Ctotal\_revenue%2Cname%2Cowneremail%2Ctwitterhandle%2Cownername%2Cphone%2Ctwitterbio%2Ctwitterfollowers%2Caddress%2Caddress2%2Cfacebook\_company\_page%2Ccity%2Clinkedin\_company\_page%2Clinkedinbio%2Cstate%2Cgoogleplus\_page%2Cengagements\_last\_meeting\_booked%2Cengagements\_last\_meeting\_booked\_campaign%2Cengagements\_last\_meeting\_booked\_medium%2Cengagements\_last\_meeting\_booked\_source%2Chs\_latest\_meeting\_activity%2Chs\_sales\_email\_last\_replied%2Chubspot\_owner\_id%2Cnotes\_last\_contacted%2Cnotes\_last\_updated%2Cnotes\_next\_activity\_date%2Cnum\_contacted\_notes%2Cnum\_notes%2Czip%2Ccountry%2Chubspot\_team\_id%2Chs\_all\_owner\_ids%2Cwebsite%2Cdomain%2Chs\_all\_team\_ids%2Chs\_all\_accessible\_team\_ids%2Cnumberofemployees%2Cindustry%2Cannualrevenue%2Clifecyclestage%2Chs\_lead\_status%2Chs\_parent\_company\_id%2Ctype%2Cdescription%2Chs\_num\_child\_companies%2Chubspotscore%2Ccreatedate%2Cclosedate%2Cfirst\_contact\_createdate%2Cdays\_to\_close%2Cweb\_technologies”_
