{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-lists-api-list-create-request-schema.json",
"title": "ListCreateRequest",
"description": "Request body for creating a new CRM list.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the list.",
"example": "Example Record"
},
"objectTypeId": {
"type": "string",
"description": "The object type ID for the list (e.g., 0-1 for contacts).",
"example": "500123"
},
"processingType": {
"type": "string",
"enum": [
"MANUAL",
"DYNAMIC",
"SNAPSHOT"
],
"description": "The type of list processing.",
"example": "MANUAL"
},
"filterBranch": {
"type": "object",
"description": "The filter branch definition for dynamic lists.",
"example": {}
}
},
"required": [
"name",
"objectTypeId",
"processingType"
]
}