Skip to main content
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
name
string

Include to update the name of the list.

filters
object[][]

Use filters to customize your list results. Adding new filter data will replace any existing filters.

Response

200 - application/json

Successfully updated contact list

listId
integer
name
string
dynamic
boolean
listType
enum<string>
Available options:
STATIC,
DYNAMIC
portalId
integer
createdAt
integer
updatedAt
integer
internalListId
integer
deleteable
boolean
metaData
object
filters
object[][]