Get a contact list by its unique ID

GET /contacts/v1/lists/:list_id

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

For a given portal, return a contact list by its unique ID. This returns only the metadata for the list; see this page for getting the conact records in the list.

If you are not storing the list ids inside of your application, you'll need to first find the list id by using the get all lists endpoint.

See the Contact List Overview for details about the returned data

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
List ID Used in the request URL Unique identifier for the list that you're looking for.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL is here - note that the list ID is "1":  https://api.hubapi.com/contacts/v1/lists/1?hapikey=demo

Returns a 404 if there is no list with the specified ID.