• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Ready to build your local HubSpot community?

    HUG leaders host events, spark connections, and create spaces where people learn and grow together.

    Become a HUG Leader

See all custom properties for contact/companies

JPilegaard
Member

Hello developers,

 

We are trying to futher integrate your API into our application.

 

One of our business needs is to be able to update a custom property on a contact. I saw on another post, that you can simply call a PATCH with the desired custom property. Awesome.

 

But what is the way to display all custom properties for a specific contact? Is it through the `/search` endpoint and with filterGroups?

0 Upvotes
1 Accepted solution
Jaycee_Lewis
Solution
Thought Leader

Hey, @JPilegaard That's correct. The issue with trying to include all your properties as query parms, using this endpoint for example, is that you'll hit a character limit. So, the search API is a better fit for your request.

 

Please note, there is still a character limitation, but it is greater when using the Search API:

“A query can contain a maximum of 3,000 characters. If the body of your request exceeds 3,000 characters, a 400 error will be returned.” — Search API | Limitations 

 

Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




View solution in original post

0 Upvotes
1 Reply 1
Jaycee_Lewis
Solution
Thought Leader

Hey, @JPilegaard That's correct. The issue with trying to include all your properties as query parms, using this endpoint for example, is that you'll hit a character limit. So, the search API is a better fit for your request.

 

Please note, there is still a character limitation, but it is greater when using the Search API:

“A query can contain a maximum of 3,000 characters. If the body of your request exceeds 3,000 characters, a 400 error will be returned.” — Search API | Limitations 

 

Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes