APIs & Integrations

kreddy5
Member

Not able to get all the fields from Search Contact API

SOLVE

Hi Team

I am having an issue while getting the Contact details (Only few fields are not getting from Source Contacts) . Phone,Jobtitile,Mobilephone,Contactowner-- these fields are missing from the API response.

https://api.hubapi.com/crm/v3/objects/contacts/search 

 

Payload

{

    "filterGroups": [

        {

            "filters": [

                {

                    "propertyName": "createdate",

                    "operator": "GTE",

                    "value": "2024-03-18T08:37:20Z"

                }

            ]

        }

    ]

}

 

Please suggest some solutions this is very much Urgent. really apriciate the help.

0 Upvotes
1 Accepted solution
JTBuys
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Not able to get all the fields from Search Contact API

SOLVE

@kreddy5,

 

You can solve this by updating your payload to the body below. I have additional context and instructions in a similar post

 

{
  "properties": [
    "phone",
    "mobilephone",
    "jobtitle",
    "hubspot_owner_id"
  ],
  "filterGroups": [
    {
      "filters": [
        {
          "propertyName": "createdate",
          "operator": "GTE",
          "value": "2024-03-18T08:37:20Z"
        }
      ]
    }
  ]
}

  

View solution in original post

0 Upvotes
1 Reply 1
JTBuys
Solution
Contributor | Platinum Partner
Contributor | Platinum Partner

Not able to get all the fields from Search Contact API

SOLVE

@kreddy5,

 

You can solve this by updating your payload to the body below. I have additional context and instructions in a similar post

 

{
  "properties": [
    "phone",
    "mobilephone",
    "jobtitle",
    "hubspot_owner_id"
  ],
  "filterGroups": [
    {
      "filters": [
        {
          "propertyName": "createdate",
          "operator": "GTE",
          "value": "2024-03-18T08:37:20Z"
        }
      ]
    }
  ]
}

  

0 Upvotes