URL syntax for getting all contacts and a specific list of properties


#1

I am having trouble getting the query string syntax correct so that when I get all contacts I get just a half dozen or so properties.

Here is an example of the url I am trying:

https://api.hubapi.com/contacts/v1/lists/all/contacts/all?property=vid&proprty=address&hapikey=


#2

The endpoint that returns all contacts doesn’t return all of the properties. Usually it is just vid,first name, last name, email address(maybe one or two more). If you would like to get back other specific properties you would need to add them to the URL as a parameter.