POST
/
contacts
/
v1
/
lists
Create a new contact list
curl --request POST \
  --url https://api.hubapi.com/contacts/v1/lists \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "dynamic": false,
  "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": [
    [
      {}
    ]
  ]
}

Body

application/json

Response

201 - application/json

Successfully created contact list

The response is of type object.