CreateList
Creates a new list in HubSpot with a filter branch payload. Returns the Id of the created list.
Input
| Name | Type | Description |
| Name | String | Human-readable name of the new list. |
| ObjectTypeId | String | Object type the list applies to (for example, '0-1' for contacts). |
| ProcessingType | String | Type of list processing. Use DYNAMIC to enable filter branch criteria. Other supported values are SNAPSHOT and MANUAL.
The allowed values are SNAPSHOT, MANUAL, DYNAMIC. |
| FilterBranch | String | JSON payload defining the filter branch criteria for the list. Required when ProcessingType is DYNAMIC. Must be a valid HubSpot filter branch JSON object. |
Result Set Columns
| Name | Type | Description |
| Id | Long | Unique numeric identifier of the newly created list. |
| Success | Boolean | Specifies whether the list was successfully created through the stored procedure. |
| ErrorCode | String | Code representing the type of error that occurred, if the procedure did not complete successfully. |
| ErrorMessage | String | Detailed message describing the issue encountered during the creation of the list. |