# Not getting all the wanted fields from contacts

**URL:** <https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [October 29, 2021, 5:46am UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152 "2021-10-29T05:46:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdKerremans](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adkerremans/32/53612_2.png) [@AdKerremans](https://community.hubspot.com/u/AdKerremans)\
**Post date:** [October 29, 2021, 5:46am UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152/1 "2021-10-29T05:46:08Z")

</div>

Hi,

I am using the postman code below the retrieve all my contacts with (all) wanted fields, but I don’t get them all.

How do I get ALL fields from contacts

{

```
"filterGroups": \[

    {

        "filters": \[

            {

                "value": "0",

                "propertyName": "lastmodifieddate",

                "operator": "GTE"

            }

        ]

    }

],

"properties": \[

    "createdate",

    "email",

    "firstname",

    "hs\_object\_id",

    "lastmodifieddate",

    "lastname",

    "company",

    "contactowner",

    "customer\_code\_sap",

    "website",

    "phone",

    "companyname"

],

"limit": "100"

```

}

I get (partial answer)

{

```
"total": 22,

"results": \[

    {

        "id": "1",

        "properties": {

            "company": "HubSpot",

            "createdate": "2021-05-11T07:02:08.438Z",

            "customer\_code\_sap": null,

            "email": "emailmaria@hubspot.com",

            "firstname": "Maria",

            "hs\_object\_id": "1",

            "lastmodifieddate": "2021-08-04T09:10:06.850Z",

            "lastname": "Johnson (Sample Contact)",

            "phone": null,

            "website": "http://www.HubSpot.com"

        },

        "createdAt": "2021-05-11T07:02:08.438Z",

        "updatedAt": "2021-08-04T09:10:06.850Z",

        "archived": false

    },

    {

        "id": "51",

        "properties": {

            "company": "HubSpot",

            "createdate": "2021-05-11T07:02:08.798Z",

            "customer\_code\_sap": null,

            "email": "bh@hubspot.com",

            "firstname": "Brian",

            "hs\_object\_id": "51",

            "lastmodifieddate": "2021-08-09T04:19:36.811Z",

            "lastname": "Halligan (Sample Contact)",

            "phone": null,

            "website": "http://www.HubSpot.com"

        },

        "createdAt": "2021-05-11T07:02:08.798Z",

        "updatedAt": "2021-08-09T04:19:36.811Z",

        "archived": false

    },

```

…

Regard s

Ad

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 29, 2021, 9:46am UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152/2 "2021-10-29T09:46:37Z")

</div>

Hi @AdKerremans ,  
Please make sure, your property key should be correct then it will be shown required list.

Hope this helps!

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

---

<div class="post-metadata">

**Author:** ![AdKerremans](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adkerremans/32/53612_2.png) [@AdKerremans](https://community.hubspot.com/u/AdKerremans)\
**Post date:** [October 29, 2021, 9:50am UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152/3 "2021-10-29T09:50:49Z")

</div>

Hi [@webdew](https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510) ,

I just want ALL the properties, how can I do that?

Thanks and Regards

---

<div class="post-metadata">

**Author:** ![KyleParker](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@KyleParker](https://community.hubspot.com/u/KyleParker)\
**Post date:** [November 24, 2021, 3:16pm UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152/4 "2021-11-24T15:16:30Z")

</div>

@AdKerremans While there may be a better way to tackle this request, we have a process that first retrieves the full list of properties from HubSpot ( **GET** /crm/v3/properties/{objectType}) and saves those to a database table. We then aggregate all of the rows into a single comma-separated string and call the Contacts API endpoint (search, get specific contact, etc) and concatenate that comma separated list of properties in the request body. This pulls back all contacts that meet our criteria along with all of the current properties in HubSpot.

From there we save the results to a file and parse out specific properties to load to our database tables.

Hopefully this helps.

---

<div class="post-metadata">

**Author:** ![AdKerremans](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adkerremans/32/53612_2.png) [@AdKerremans](https://community.hubspot.com/u/AdKerremans)\
**Post date:** [November 25, 2021, 6:44am UTC](https://community.hubspot.com/t/not-getting-all-the-wanted-fields-from-contacts/46152/5 "2021-11-25T06:44:57Z")

</div>

Hi @KyleParker ,

Thanks, This is what I was looking for
