APIs & Integrations

JPilegaard
Membre

See all custom properties for contact/companies

Résolue

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 Votes
1 Solution acceptée
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

See all custom properties for contact/companies

Résolue

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

See all custom properties for contact/companies

Résolue

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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes