APIs & Integrations

HenrikJanningJu
Member

Get a contact record by its vid - and with a certain property value?

Is it possible to call the api with regard to getting a contact record by its vid and ALSO a certain (custom) property value?

0 Upvotes
1 Reply 1
3PETE
HubSpot Employee
HubSpot Employee

Get a contact record by its vid - and with a certain property value?

@HenrikJanningJuul You can specify specific properties yes.

Property &property=x&property=y - Used in the request URL By default, you will get all properties that the contact has values for. If you include the “property” parameter, then the returned data will only include the property or properties that you request. You can include this parameter multiple times to specify multiple properties. The lastmodifieddate and associatedcompanyid will always be included, even if not specified. Keep in mind that only properties that have a value will be included in the response, even if specified in the URL.

0 Upvotes