How can I get two or more properties

contacts

#1

How can I get two or more properties?

Example:
https://api.hubapi.com/contacts/v1/lists/380/contacts/all?hapikey=myapikey&property=firstname,message


#2

Hi @gabos,

Thanks for the question. To do this, simply string together multiple ‘property’ key/value pairs with connected ampersands i.e. property=firstname&property=message&property=email

You should see this usage in the ‘optional parameters’ and ‘how to use’ section of a doc like this: https://developers.hubspot.com/docs/methods/contacts/get_contact

Cheers,

Rob


#3

Thanks @Robert_Ainslie