POST
/
contacts
/
v1
/
lists
/
{list_id}
Update a contact list
curl --request POST \
  --url https://api.hubapi.com/contacts/v1/lists/{list_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "filters": [
    [
      {}
    ]
  ]
}'
{
  "listId": 123,
  "name": "<string>",
  "dynamic": true,
  "listType": "STATIC",
  "portalId": 123,
  "createdAt": 123,
  "updatedAt": 123,
  "internalListId": 123,
  "deleteable": true,
  "metaData": {
    "processing": "<string>",
    "size": 123,
    "error": "<string>",
    "lastProcessingStateChangeAt": 123,
    "lastSizeChangeAt": 123
  },
  "filters": [
    [
      {}
    ]
  ]
}

Path Parameters

list_id
integer
required

Unique identifier for the list that you're updating.

Body

application/json

Response

200 - application/json

Successfully updated contact list

The response is of type object.