Zum Hauptinhalt springen
GET
/
contacts
/
v1
/
lists
/
{list_id}
/
contacts
/
all
Get contacts in a list
curl --request GET \
  --url https://api.hubapi.com/contacts/v1/lists/{list_id}/contacts/all
{
  "contacts": [
    {
      "vid": 123,
      "canonical-vid": 123,
      "merged-vids": [
        123
      ],
      "portal-id": 123,
      "is-contact": true,
      "addedAt": 123,
      "properties": {},
      "form-submissions": [
        {}
      ],
      "identity-profiles": [
        {}
      ],
      "merge-audits": [
        {}
      ]
    }
  ],
  "has-more": true,
  "vid-offset": 123
}

Pfadparameter

list_id
integer
erforderlich

Unique identifier for the list you're looking for.

Abfrageparameter

count
integer
Standard:20

This parameter lets you specify the amount of contacts to return in your API call. The default for this parameter is 20 contacts. The maximum amount of contacts you can have returned is 100.

Erforderlicher Bereich: x <= 100
vidOffset
integer

Used to page through the contacts. Every call to this endpoint will return a vid-offset value. This value is used in the vidOffset parameter of the next call to get the next page of contacts.

property
string[]

If you include the "property" parameter, then the properties in the "contact" object in the returned data will only include the property or properties that you request.

propertyMode
enum<string>
Standard:value_only

One of "value_only" or "value_and_history" to specify if the current value for a property should be fetched, or the value and all the historical values for that property.

Verfügbare Optionen:
value_only,
value_and_history
formSubmissionMode
enum<string>
Standard:newest

One of "all", "none", "newest", "oldest" to specify which form submissions should be fetched.

Verfügbare Optionen:
all,
none,
newest,
oldest
showListMemberships
boolean
Standard:false

Boolean to indicate whether current list memberships should be fetched for the contact.

Antwort

200 - application/json

Successful response with contacts in the list

contacts
object[]
has-more
boolean
vid-offset
integer
Last modified on April 9, 2026