hubspot.crm.lists
Module hubspot.crm.lists
API
Definitions
ballerinax/hubspot.crm.lists Ballerina library
Overview
HubSpot is an AI-powered customer relationship management (CRM) platform.
The HubSpot connector offers APIs to connect and interact with the HubSpot CRM Lists API endpoints, specifically based on the HubSpot REST API
Key Features
- Create, read, update, and delete CRM contact lists
- Manage list membership and filtering criteria
- Search and query lists with filtering support
- Support for static and dynamic list types
Setup guide
To use the HubSpot CRM Lists connector, you must have access to the HubSpot API through a HubSpot developer account and a HubSpot App under it. Therefore you need to register for a developer account at HubSpot if you don't have one already.
Step 1: Create/Login to a HubSpot Developer Account
If you have an account already, go to the HubSpot developer portal
If you don't have a HubSpot Developer Account you can sign up for a free account here
Step 2 (Optional): Create a Developer Test Account
Within app developer accounts, you can create a developer test account under your account to test apps and integrations without affecting any real HubSpot data.
Note: These accounts are only for development and testing purposes. In production, you should not use Developer Test Accounts.
-
Go to the Test Account section from the left sidebar.

-
Click Create developer test account.

-
In the dialogue box, give a name to your test account and click "Create".

Step 3: Create a HubSpot App under your account
-
In your developer account, navigate to the "Apps" section. Click on "Create App"

-
Provide the necessary details, including the app name and description.
Step 4: Configure the Authentication Flow
-
Move to the Auth Tab.

-
In the Scopes section, add the following scopes for your app using the "Add new scope" button.
crm.lists.readcrm.lists.writecms.membership.access_groups.write

The scopes listed above are the mandatory scopes needed to use the HubSpot CRM Lists API. However, you may need to add additional scopes based on your use case. For example, if you are working with contacts, you may need to add
crm.objects.contacts.readandcrm.objects.contacts.writescopes as well. -
Add your Redirect URI in the relevant section. You can also use
localhostaddresses for local development purposes. Click "Create App".
Step 5: Get your Client ID and Client Secret
Navigate to the Auth section of your app. Make sure to save the provided Client ID and Client Secret.

Step 6: Setup Authentication Flow
Before proceeding with the Quickstart, ensure you have obtained the Access Token using the following steps:
-
Create an authorization URL using the following format:
https://app.hubspot.com/oauth/authorize?client_id=<YOUR_CLIENT_ID>&scope=<YOUR_SCOPES>&redirect_uri=<YOUR_REDIRECT_URI>Replace the
<YOUR_CLIENT_ID>,<YOUR_REDIRECT_URI>, and<YOUR_SCOPES>with your specific value. -
Paste it in the browser and select your developer test account to install the app when prompted. Provide consent for all scopes needed.

-
A code will be displayed in the browser. Copy the code.
-
Run the following curl command. Replace the
<YOUR_CLIENT_ID>,<YOUR_REDIRECT_URI>, and<YOUR_CLIENT_SECRET>with your specific value. Use the code you received in the above step 3 as the<CODE>.-
Linux/macOS
curl --request POST \ --url https://api.hubapi.com/oauth/v1/token \ --header 'content-type: application/x-www-form-urlencoded' \ --data 'grant_type=authorization_code&code=<CODE>&redirect_uri=<YOUR_REDIRECT_URI>&client_id=<YOUR_CLIENT_ID>&client_secret=<YOUR_CLIENT_SECRET>' -
Windows
curl --request POST ^ --url https://api.hubapi.com/oauth/v1/token ^ --header 'content-type: application/x-www-form-urlencoded' ^ --data 'grant_type=authorization_code&code=<CODE>&redirect_uri=<YOUR_REDIRECT_URI>&client_id=<YOUR_CLIENT_ID>&client_secret=<YOUR_CLIENT_SECRET>'
This command will return the access token necessary for API calls.
{ "token_type": "bearer", "refresh_token": "<Refresh Token>", "access_token": "<Access Token>", "expires_in": 1800 } -
-
Store the access token securely for use in your application.
Quickstart
To use the HubSpot CRM Lists connector in your Ballerina application, update the .bal file as follows:
Step 1: Import the module
Import the hubspot.crm.lists module and oauth2 module.
import ballerinax/hubspot.crm.lists as hslists; import ballerina/oauth2;
Step 2: Instantiate a new connector
-
Create a
Config.tomlfile and, configure the obtained credentials in the above steps as follows:clientId = <Client Id> clientSecret = <Client Secret> refreshToken = <Refresh Token> -
Instantiate an
OAuth2RefreshTokenGrantConfigwith the obtained credentials and initialize the connector with it.configurable string clientId = ?; configurable string clientSecret = ?; configurable string refreshToken = ?; OAuth2RefreshTokenGrantConfig auth = { clientId, clientSecret, refreshToken, credentialBearer: oauth2:POST_BODY_BEARER }; final hslists:Client crmListClient = check new ({auth});
Step 3: Invoke the connector operation
Now, utilize the available connector operations. A sample use case is shown below.
Create a CRM List
public function main() returns error? { hslists:ListCreateRequest payload = { objectTypeId: "0-1", processingType: "MANUAL", name: "my-test-list" }; hslists:ListCreateResponse response = check crmListClient->post_create(payload); }
Examples
The HubSpot CRM Lists connector provides practical examples illustrating usage in various scenarios. Explore these examples, covering the following use cases:
- Customer Support Ticket Manager - Integrates with HubSpot CRM Lists to create filtered lists of customer support tickets based on the priority level of the ticket.
- Leads Tracker - Integrates with HubSpot CRM Lists to create Manual Lists and add leads(contacts) to the lists.
Clients
hubspot.crm.lists: Client
Constructor
Gets invoked to initialize the connector
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://api.hubapi.com/crm/v3/lists" - URL of the target service
putListIdUpdateListNameUpdateName
function putListIdUpdateListNameUpdateName(string listId, map<string|string[]> headers, *PutListIdUpdateListNameUpdateNameQueries queries) returns ListUpdateResponse|errorUpdate List Name
Parameters
- listId string - The ILS ID of the list to update
- queries *PutListIdUpdateListNameUpdateNameQueries - Queries to be sent with the request
Return Type
- ListUpdateResponse|error - successful operation
putListIdMembershipsAddAndRemoveAddAndRemove
function putListIdMembershipsAddAndRemoveAddAndRemove(string listId, MembershipChangeRequest payload, map<string|string[]> headers) returns MembershipsUpdateResponse|errorAdd and/or Remove Records from a List
Parameters
- listId string - The ILS ID of the MANUAL or SNAPSHOT list
- payload MembershipChangeRequest - A membership change request
Return Type
- MembershipsUpdateResponse|error - successful operation
getListIdGetById
function getListIdGetById(string listId, map<string|string[]> headers, *GetListIdGetByIdQueries queries) returns ListFetchResponse|errorFetch List by ID
Parameters
- listId string - The ILS ID of the list to fetch
- queries *GetListIdGetByIdQueries - Queries to be sent with the request
Return Type
- ListFetchResponse|error - successful operation
deleteListIdRemove
Delete a List
Parameters
- listId string - The ILS ID of the list to delete
Return Type
- error? - No content
putListIdUpdateListFiltersUpdateListFilters
function putListIdUpdateListFiltersUpdateListFilters(string listId, ListFilterUpdateRequest payload, map<string|string[]> headers, *PutListIdUpdateListFiltersUpdateListFiltersQueries queries) returns ListUpdateResponse|errorUpdate List Filter Definition
Parameters
- listId string - The ILS ID of the list to update
- payload ListFilterUpdateRequest - A list filter update request
- queries *PutListIdUpdateListFiltersUpdateListFiltersQueries - Queries to be sent with the request
Return Type
- ListUpdateResponse|error - successful operation
postSearchDoSearch
function postSearchDoSearch(ListSearchRequest payload, map<string|string[]> headers) returns ListSearchResponse|errorSearch Lists
Parameters
- payload ListSearchRequest - A list search request
Return Type
- ListSearchResponse|error - successful operation
putFoldersMoveListMoveList
function putFoldersMoveListMoveList(ListMoveRequest payload, map<string|string[]> headers) returns error?Moves a list to a given folder
Parameters
- payload ListMoveRequest - A list move request
Return Type
- error? - No content
putListIdMembershipsAddAdd
function putListIdMembershipsAddAdd(string listId, string[] payload, map<string|string[]> headers) returns MembershipsUpdateResponse|errorAdd Records to a List
Parameters
- listId string - The ILS ID of the MANUAL or SNAPSHOT list
- payload string[] - A list of string values
Return Type
- MembershipsUpdateResponse|error - successful operation
getObjectTypeIdObjectTypeIdNameListNameGetByName
function getObjectTypeIdObjectTypeIdNameListNameGetByName(string listName, string objectTypeId, map<string|string[]> headers, *GetObjectTypeIdObjectTypeIdNameListNameGetByNameQueries queries) returns ListFetchResponse|errorFetch List by Name
Parameters
- listName string - The name of the list to fetch. This is not case sensitive
- objectTypeId string - The object type ID of the object types stored by the list to fetch. For example, 0-1 for a CONTACT list
- queries *GetObjectTypeIdObjectTypeIdNameListNameGetByNameQueries - Queries to be sent with the request
Return Type
- ListFetchResponse|error - successful operation
putFoldersFolderIdMoveNewParentFolderIdMove
function putFoldersFolderIdMoveNewParentFolderIdMove(string folderId, string newParentFolderId, map<string|string[]> headers) returns ListFolderFetchResponse|errorMoves a folder
Parameters
- folderId string - The unique identifier of the folder to be moved
- newParentFolderId string - The unique identifier of the destination parent folder
Return Type
- ListFolderFetchResponse|error - successful operation
getIdmappingTranslateLegacyListIdToListId
function getIdmappingTranslateLegacyListIdToListId(map<string|string[]> headers, *GetIdmappingTranslateLegacyListIdToListIdQueries queries) returns PublicMigrationMapping|errorTranslate legacy list ID to modern ID
Parameters
- queries *GetIdmappingTranslateLegacyListIdToListIdQueries - Queries to be sent with the request
Return Type
- PublicMigrationMapping|error - successful operation
postIdmappingTranslateLegacyListIdToListIdBatch
function postIdmappingTranslateLegacyListIdToListIdBatch(string[] payload, map<string|string[]> headers) returns PublicBatchMigrationMapping|errorBatch translate legacy list IDs
Parameters
- payload string[] - A list of string values
Return Type
- PublicBatchMigrationMapping|error - successful operation
putListIdRestoreRestore
Restore a List
Parameters
- listId string - The ILS ID of the list to restore
Return Type
- error? - No content
putFoldersFolderIdRenameRename
function putFoldersFolderIdRenameRename(string folderId, map<string|string[]> headers, *PutFoldersFolderIdRenameRenameQueries queries) returns ListFolderFetchResponse|errorRename a folder
Parameters
- folderId string - The unique identifier of the folder to be renamed
- queries *PutFoldersFolderIdRenameRenameQueries - Queries to be sent with the request
Return Type
- ListFolderFetchResponse|error - successful operation
getListIdMembershipsJoinOrderGetPageOrderedByAddedToListDate
function getListIdMembershipsJoinOrderGetPageOrderedByAddedToListDate(string listId, map<string|string[]> headers, *GetListIdMembershipsJoinOrderGetPageOrderedByAddedToListDateQueries queries) returns ApiCollectionResponseJoinTimeAndRecordId|errorGet memberships by join date
Parameters
- listId string - The ILS ID of the list
- queries *GetListIdMembershipsJoinOrderGetPageOrderedByAddedToListDateQueries - Queries to be sent with the request
Return Type
- ApiCollectionResponseJoinTimeAndRecordId|error - successful operation
putListIdMembershipsAddFromSourceListIdAddAllFromList
function putListIdMembershipsAddFromSourceListIdAddAllFromList(string listId, string sourceListId, map<string|string[]> headers) returns error?Add all records from source list
Parameters
- listId string - The ILS ID of the MANUAL or SNAPSHOT destination list, which the source list records are added to
- sourceListId string - The ILS ID of the source list to grab the records from, which are then added to the destination list
Return Type
- error? - No content
getRecordsObjectTypeIdRecordIdMembershipsGetLists
function getRecordsObjectTypeIdRecordIdMembershipsGetLists(string objectTypeId, string recordId, map<string|string[]> headers) returns ApiCollectionResponseRecordListMembershipNoPaging|errorGet lists record is member of
Return Type
- ApiCollectionResponseRecordListMembershipNoPaging|error - successful operation
getGetAll
function getGetAll(map<string|string[]> headers, *GetGetAllQueries queries) returns ListsByIdResponse|errorFetch Multiple Lists
Parameters
- queries *GetGetAllQueries - Queries to be sent with the request
Return Type
- ListsByIdResponse|error - successful operation
postCreate
function postCreate(ListCreateRequest payload, map<string|string[]> headers) returns ListCreateResponse|errorCreate List
Parameters
- payload ListCreateRequest - A list create request
Return Type
- ListCreateResponse|error - successful operation
getFoldersGetAll
function getFoldersGetAll(map<string|string[]> headers, *GetFoldersGetAllQueries queries) returns ListFolderFetchResponse|errorRetrieves a folder
Parameters
- queries *GetFoldersGetAllQueries - Queries to be sent with the request
Return Type
- ListFolderFetchResponse|error - successful operation
postFoldersCreate
function postFoldersCreate(ListFolderCreateRequest payload, map<string|string[]> headers) returns ListFolderCreateResponse|errorCreates a folder
Parameters
- payload ListFolderCreateRequest - A list folder create request
Return Type
- ListFolderCreateResponse|error - successful operation
deleteFoldersFolderIdRemove
Deletes a folder
Parameters
- folderId string - The unique identifier of the folder to be deleted
Return Type
- error? - No content
getListIdMembershipsGetPage
function getListIdMembershipsGetPage(string listId, map<string|string[]> headers, *GetListIdMembershipsGetPageQueries queries) returns ApiCollectionResponseJoinTimeAndRecordId|errorFetch List Memberships Ordered by ID
Parameters
- listId string - The ILS ID of the list
- queries *GetListIdMembershipsGetPageQueries - Queries to be sent with the request
Return Type
- ApiCollectionResponseJoinTimeAndRecordId|error - successful operation
deleteListIdMembershipsRemoveAll
function deleteListIdMembershipsRemoveAll(string listId, map<string|string[]> headers) returns error?Delete All Records from a List
Parameters
- listId string - The ILS ID of the MANUAL or SNAPSHOT list
Return Type
- error? - No content
putListIdMembershipsRemoveRemove
function putListIdMembershipsRemoveRemove(string listId, string[] payload, map<string|string[]> headers) returns MembershipsUpdateResponse|errorRemove Records from a List
Parameters
- listId string - The ILS ID of the MANUAL or SNAPSHOT list
- payload string[] - A list of string values
Return Type
- MembershipsUpdateResponse|error - successful operation
Records
hubspot.crm.lists: ApiCollectionResponseJoinTimeAndRecordId
Paginated collection response containing record IDs and their list join timestamps
Fields
- total? int - Total number of records matching the request
- paging? Paging - Pagination metadata containing links to the next and previous pages of results
- results JoinTimeAndRecordId[] - Array of record IDs paired with their list join timestamps
hubspot.crm.lists: ApiCollectionResponseRecordListMembershipNoPaging
A collection response containing record list memberships without paging information
Fields
- total? int - Total number of record list memberships returned
- results RecordListMembership[] - Array of record list membership objects in the response
hubspot.crm.lists: ApiKeysConfig
Provides API key configurations needed when communicating with a remote HTTP endpoint
Fields
- privateApp string -
hubspot.crm.lists: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint
Fields
- auth BearerTokenConfig|OAuth2RefreshTokenGrantConfig|ApiKeysConfig - Provides Auth configurations needed when communicating with a remote HTTP endpoint
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default
hubspot.crm.lists: GetFoldersGetAllQueries
Represents the Queries record for the operation: getFoldersGetAll
Fields
- folderId string(default "0") - The Id of the folder to retrieve
hubspot.crm.lists: GetGetAllQueries
Represents the Queries record for the operation: getGetAll
Fields
- listIds? string[] - The ILS IDs of the lists to fetch
- includeFilters boolean(default false) - A flag indicating whether or not the response object list definitions should include a filter branch definition. By default, object list definitions will not have their filter branch definitions included in the response
hubspot.crm.lists: GetIdmappingTranslateLegacyListIdToListIdQueries
Represents the Queries record for the operation: getIdmappingTranslateLegacyListIdToListId
Fields
- legacyListId? string - The legacy list id from lists v1 API
hubspot.crm.lists: GetListIdGetByIdQueries
Represents the Queries record for the operation: getListIdGetById
Fields
- includeFilters boolean(default false) - A flag indicating whether or not the response object list definition should include a filter branch definition. By default, object list definitions will not have their filter branch definitions included in the response
hubspot.crm.lists: GetListIdMembershipsGetPageQueries
Represents the Queries record for the operation: getListIdMembershipsGetPage
Fields
- before? string - The paging offset token for the page that comes before the previously requested records If provided, then the records in the response will be the records preceding the offset, sorted in descending order
- 'limit Signed32(default 100) - The number of records to return in the response. The maximum limit is 250
- after? string - The paging offset token for the page that comes after the previously requested records If provided, then the records in the response will be the records following the offset, sorted in ascending order. Takes precedence over the before offset
hubspot.crm.lists: GetListIdMembershipsJoinOrderGetPageOrderedByAddedToListDateQueries
Represents the Queries record for the operation: getListIdMembershipsJoinOrderGetPageOrderedByAddedToListDate
Fields
- before? string - The paging offset token for the page that comes before the previously requested records If provided, then the records in the response will be the records preceding the offset, sorted in descending order
- 'limit Signed32(default 100) - The number of records to return in the response. The maximum limit is 250
- after? string - The paging offset token for the page that comes after the previously requested records If provided, then the records in the response will be the records following the offset, sorted in ascending order. Takes precedence over the before offset
hubspot.crm.lists: GetObjectTypeIdObjectTypeIdNameListNameGetByNameQueries
Represents the Queries record for the operation: getObjectTypeIdObjectTypeIdNameListNameGetByName
Fields
- includeFilters boolean(default false) - A flag indicating whether or not the response object list definition should include a filter branch definition. By default, object list definitions will not have their filter branch definitions included in the response
hubspot.crm.lists: JoinTimeAndRecordId
Associates a record ID with the timestamp at which it joined a list membership
Fields
- recordId string - Unique identifier of the record that joined the list
- membershipTimestamp string - Datetime when the record gained list membership
hubspot.crm.lists: ListCreateRequest
Request body for creating a new list, including the object type, processing type, name, optional folder placement, custom properties, and filter criteria
Fields
- objectTypeId string - The object type ID of the type of objects that the list will store
- processingType string - The processing type of the list. One of: SNAPSHOT, MANUAL, or DYNAMIC
- customProperties? record { string... } - The list of custom properties to tie to the list. Custom property name is the key, the value is the value
- listFolderId? Signed32 - The ID of the folder that the list should be created in. If left blank, then the list will be created in the root of the list folder structure
- name string - The name of the list, which must be globally unique across all public lists in the portal
- filterBranch? PublicOrFilterBranch|PublicAndFilterBranch|PublicNotAllFilterBranch|PublicNotAnyFilterBranch|PublicRestrictedFilterBranch|PublicUnifiedEventsFilterBranch|PublicPropertyAssociationFilterBranch|PublicAssociationFilterBranch - The root filter branch defining membership criteria for dynamic lists
hubspot.crm.lists: ListCreateResponse
Response returned after successfully creating a new list
Fields
- list PublicObjectList - Represents a HubSpot object list, including its metadata, processing state, and filter configuration
hubspot.crm.lists: ListFetchResponse
Response object containing a single retrieved list
Fields
- list PublicObjectList - Represents a HubSpot object list, including its metadata, processing state, and filter configuration
hubspot.crm.lists: ListFilterUpdateRequest
Request body for updating a list's filter criteria, containing a single required filter branch definition
Fields
- filterBranch PublicOrFilterBranch|PublicAndFilterBranch|PublicNotAllFilterBranch|PublicNotAnyFilterBranch|PublicRestrictedFilterBranch|PublicUnifiedEventsFilterBranch|PublicPropertyAssociationFilterBranch|PublicAssociationFilterBranch - The root filter branch defining the list's membership criteria
hubspot.crm.lists: ListFolderCreateRequest
Request payload for creating a new list folder, including an optional parent folder and a required folder name
Fields
- parentFolderId? string - The folder this should be created in, if not specified will be created in the root folder 0
- name string - The name of the folder to be created
hubspot.crm.lists: ListFolderCreateResponse
Response returned after successfully creating a list folder
Fields
- folder PublicListFolder - Represents a folder that organizes lists, including its hierarchy, child nodes, and metadata
hubspot.crm.lists: ListFolderFetchResponse
Response containing a single retrieved list folder object
Fields
- folder PublicListFolder - Represents a folder that organizes lists, including its hierarchy, child nodes, and metadata
hubspot.crm.lists: ListMoveRequest
Request payload for moving a list to a specified folder
Fields
- listId string - The Id of the list to move
- newFolderId string - The Id of folder to move the list to, the root folder is Id 0
hubspot.crm.lists: ListsByIdResponse
Response containing an array of object list definitions retrieved by ID
Fields
- lists PublicObjectList[] - The object list definitions
hubspot.crm.lists: ListSearchRequest
Request body for searching and filtering lists by name, ID, or processing type, with pagination and additional property support
Fields
- listIds? string[] - The listIds that will be used to filter results by listId. If values are provided, then the response will only include results that have a listId in this array If no value is provided, or if an empty list is provided, then the results will not be filtered by listId
- offset? Signed32 - Value used to paginate through lists. The offset provided in the response can be used in the next request to fetch the next page of results. Defaults to 0 if no offset is provided
- query? string - The query that will be used to search for lists by list name. If no query is provided, then the results will include all lists
- count? Signed32 - The number of lists to include in the response. Defaults to 20 if no value is provided. The max count is 500
- processingTypes? string[] - The processingTypes that will be used to filter results by processingType. If values are provided, then the response will only include results that have a processingType in this array If no value is provided, or if an empty list is provided, then results will not be filtered by processingType Valid processingTypes are: MANUAL, SNAPSHOT, or DYNAMIC
- additionalProperties? string[] - The property names of any additional list properties to include in the response. Properties that do not exist or that are empty for a particular list are not included in the response By default, all requests will fetch the following properties for each list: hs_list_size, hs_last_record_added_at, hs_last_record_removed_at, hs_folder_name, and hs_list_reference_count
- sort? string - The field by which to sort the returned list results
hubspot.crm.lists: ListSearchResponse
Response object containing matched lists, pagination details, and total result count for a list search query
Fields
- total Signed32 - The total number of lists that match the search criteria
- offset Signed32 - Value to be passed in a future request to paginate through list search results
- lists PublicObjectListSearchResult[] - The lists that matched the search criteria
- hasMore boolean - Whether or not there are more results to page through
hubspot.crm.lists: ListUpdateResponse
Response returned after successfully updating a list
Fields
- updatedList? PublicObjectList - Represents a HubSpot object list, including its metadata, processing state, and filter configuration
hubspot.crm.lists: MembershipChangeRequest
Request body specifying record IDs to add or remove from a list
Fields
- recordIdsToRemove string[] - Array of record IDs to remove from the list
- recordIdsToAdd string[] - Array of record IDs to add to the list
hubspot.crm.lists: MembershipsUpdateResponse
Response detailing the outcome of a list membership update operation
Fields
- recordIdsRemoved? string[] - The IDs of the records that were removed from the list
- recordsIdsAdded? string[] - The IDs of the records successfully added to the list
- recordIdsMissing? string[] - The IDs of the records that were missing (e.g. did not exist in the portal) and so were not added or removed
hubspot.crm.lists: NextPage
Pagination metadata containing a cursor and direct link to retrieve the next page of results
Fields
- link? string - A direct link to the request for the next page of records
- after string - The offset for the next page of records
hubspot.crm.lists: OAuth2RefreshTokenGrantConfig
OAuth2 Refresh Token Grant Configs
Fields
- Fields Included from *OAuth2RefreshTokenGrantConfig
- refreshUrl string(default "https://api.hubapi.com/oauth/v1/token") - Refresh URL
hubspot.crm.lists: Paging
Pagination metadata containing links to the next and previous pages of results
Fields
- next? NextPage - Pagination metadata containing a cursor and direct link to retrieve the next page of results
- prev? PreviousPage - Pagination cursor and link for retrieving the previous page of records
hubspot.crm.lists: PreviousPage
Pagination cursor and link for retrieving the previous page of records
Fields
- before string - The offset of the previous page of records
- link? string - A direct link to the request for the previous page of records
hubspot.crm.lists: PublicAbsoluteComparativeTimestampRefineBy
Refines a filter by comparing against an absolute timestamp value
Fields
- comparison string - The comparison operator applied to the timestamp
- 'type "ABSOLUTE_COMPARATIVE" (default "ABSOLUTE_COMPARATIVE") - Refine-by type; must be ABSOLUTE_COMPARATIVE
- timestamp int - The absolute timestamp value in milliseconds (epoch)
hubspot.crm.lists: PublicAbsoluteRangedTimestampRefineBy
Refines filter results by an absolute timestamp range defined by explicit lower and upper epoch millisecond boundaries
Fields
- rangeType string - Specifies the category or interpretation of the timestamp range
- upperTimestamp int - The upper bound of the timestamp range, in epoch milliseconds
- lowerTimestamp int - The lower bound of the timestamp range, in epoch milliseconds
- 'type "ABSOLUTE_RANGED" (default "ABSOLUTE_RANGED") - Refine-by type identifier, fixed as 'ABSOLUTE_RANGED'
hubspot.crm.lists: PublicAdsSearchFilter
Filter definition for searching list members by ads search criteria, including ad network, entity type, and search terms
Fields
- searchTerms string[] - The list of search terms to match against
- entityType string - The type of ad entity to filter on
- adNetwork string - The ad network to target with this filter
- searchTermType string - The classification type of the provided search terms
- filterType "ADS_SEARCH" (default "ADS_SEARCH") - The filter type identifier, fixed value 'ADS_SEARCH'
- operator string - The logical operator applied to evaluate the filter
hubspot.crm.lists: PublicAdsTimeFilter
A time-based filter for ads interactions, supporting various time range and occurrence refinements
Fields
- pruningRefineBy PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines the filter by pruning events based on time range or occurrence criteria
- filterType "ADS_TIME" (default "ADS_TIME") - Filter type identifier, always set to
ADS_TIME
hubspot.crm.lists: PublicAllHistoryRefineBy
Refine-by filter that includes the full history of a record
Fields
- 'type "ALL_HISTORY" (default "ALL_HISTORY") - Discriminator identifying this refine-by as ALL_HISTORY type
hubspot.crm.lists: PublicAllPropertyTypesOperation
Defines a filter operation applicable to all property types, requiring an operator and specifying whether to include objects with no value set
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value set
- operationType "ALL_PROPERTY" (default "ALL_PROPERTY") - The operation type identifier, fixed as 'ALL_PROPERTY'
- operator string - The comparison operator applied across all property types
hubspot.crm.lists: PublicAndFilterBranch
A filter branch that combines multiple filters or sub-branches using AND logic
Fields
- filterBranchType "AND" (default "AND") - The branch type identifier, always 'AND' for this filter branch
- filterBranches PublicAndFilterBranchFilterBranches[] - Nested filter branches to evaluate within this AND branch
- filterBranchOperator string - The logical operator applied across this filter branch
- filters PublicAndFilterBranchFilters[] - The individual filters evaluated within this AND branch
hubspot.crm.lists: PublicAssociationFilterBranch
Filter branch that evaluates membership criteria based on associated object properties and type
Fields
- filterBranchType "ASSOCIATION" (default "ASSOCIATION") - The filter branch type identifier; always set to ASSOCIATION
- filterBranches PublicAssociationFilterBranchFilterBranches[] - Nested filter branches applied within this association filter branch
- objectTypeId string - The object type ID targeted by this association filter branch
- filterBranchOperator string - Logical operator applied across the filter branch conditions
- associationTypeId Signed32 - Numeric ID identifying the association type for this filter branch
- associationCategory string - Category classifying the type of association being filtered
- filters PublicAssociationFilterBranchFilters[] - Array of filter definitions applied within this association filter branch
- operator string - Operator determining how filters within the branch are evaluated
hubspot.crm.lists: PublicAssociationInListFilter
Defines a filter that evaluates whether an object has associations matching a specific list, type, and operator
Fields
- listId string - The ID of the list used to match associated objects
- coalescingRefineBy PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines the association filter by occurrence count, set, or timestamp-based constraints
- toObjectType? string - The object type of the associated records being evaluated
- associationTypeId Signed32 - Numeric ID identifying the association type
- associationCategory string - Category classifying the association relationship
- filterType "ASSOCIATION" (default "ASSOCIATION") - Filter type discriminator; always 'ASSOCIATION' for this filter
- toObjectTypeId? string - Object type ID of the associated target object
- operator string - Comparison operator applied to the association filter
hubspot.crm.lists: PublicBatchMigrationMapping
Contains the results of a batch legacy list ID migration, including mapped IDs and any unresolved legacy IDs
Fields
- legacyListIdsToIdsMapping PublicMigrationMapping[] - Array of legacy list ID to current ID mappings
- missingLegacyListIds string[] - A list of legacy list ids that were passed in but not found. It will be empty if no id's are missing
hubspot.crm.lists: PublicBoolPropertyOperation
A boolean property filter operation that evaluates a property against a true/false value using a specified operator
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value set
- operationType "BOOL" (default "BOOL") - The operation type identifier, fixed as 'BOOL'
- value boolean - The boolean value to evaluate against the property
- operator string - The comparison operator applied to the boolean property
hubspot.crm.lists: PublicCalendarDatePropertyOperation
Filter operation that evaluates a date property against a calendar-based time unit
Fields
- useFiscalYear? boolean - Whether to evaluate the date property using fiscal year boundaries
- fiscalYearStart? "JANUARY"|"FEBRUARY"|"MARCH"|"APRIL"|"MAY"|"JUNE"|"JULY"|"AUGUST"|"SEPTEMBER"|"OCTOBER"|"NOVEMBER"|"DECEMBER" - Month in which the fiscal year begins for date calculations
- includeObjectsWithNoValueSet boolean - Whether to include objects where the date property has no value
- operationType "CALENDAR_DATE" (default "CALENDAR_DATE") - Discriminator identifying this operation as type CALENDAR_DATE
- timeUnitCount? Signed32 - Number of time units used in the calendar date evaluation
- operator string - The comparison operator applied to the date property
- timeUnit string - The unit of time used for the date property operation
hubspot.crm.lists: PublicCampaignInfluencedFilter
Defines a filter that matches records influenced by a specific campaign
Fields
- campaignId string - The unique identifier of the influencing campaign
- filterType "CAMPAIGN_INFLUENCED" (default "CAMPAIGN_INFLUENCED") - The filter type identifier; must be 'CAMPAIGN_INFLUENCED'
hubspot.crm.lists: PublicCommunicationSubscriptionFilter
Filter that matches records based on communication subscription status, channel, and opt-in state
Fields
- subscriptionType string - The type of communication subscription to filter on
- subscriptionIds string[] - List of subscription IDs to include in the filter criteria
- channel string - The communication channel associated with the subscription filter
- acceptedOptStates string[] - The opt-in states that are accepted by this subscription filter
- filterType "COMMUNICATION_SUBSCRIPTION" (default "COMMUNICATION_SUBSCRIPTION") - Discriminator identifying this filter type as COMMUNICATION_SUBSCRIPTION
- businessUnitId? string - The business unit ID scoping this subscription filter
hubspot.crm.lists: PublicComparativeDatePropertyOperation
Defines a comparative date operation that filters records by comparing a date property against another property's value
Fields
- includeObjectsWithNoValueSet boolean - Whether to include records with no value set for the property
- defaultComparisonValue? string - Fallback value used when the comparison property has no value
- operationType "COMPARATIVE_DATE" (default "COMPARATIVE_DATE") - The operation type identifier; always 'COMPARATIVE_DATE'
- comparisonPropertyName string - Name of the property whose value is used for date comparison
- operator string - The comparison operator applied between the two date properties
hubspot.crm.lists: PublicComparativePropertyUpdatedOperation
Filter operation that matches records where a property was updated relative to another property's value
Fields
- includeObjectsWithNoValueSet boolean - Whether to include records with no value set
- defaultComparisonValue? string - Fallback value used when the comparison property has no value
- operationType "COMPARATIVE_PROPERTY_UPDATED" (default "COMPARATIVE_PROPERTY_UPDATED") - Operation type identifier; always COMPARATIVE_PROPERTY_UPDATED
- comparisonPropertyName string - Name of the property to compare against
- operator string - Comparison operator applied between the two properties
hubspot.crm.lists: PublicConstantFilter
A static filter that unconditionally accepts or rejects all records based on a fixed boolean value
Fields
- shouldAccept boolean - When true, all records are accepted; when false, all are rejected
- 'source? string - The source context associated with the constant filter
- filterType "CONSTANT" (default "CONSTANT") - The filter type identifier, fixed as 'CONSTANT'
hubspot.crm.lists: PublicCtaAnalyticsFilter
Filter criteria based on CTA (call-to-action) analytics interactions, supporting occurrence and timestamp refinements
Fields
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine filter results by aggregating across occurrences or time ranges
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine filter results by restricting occurrences or time ranges
- filterType "CTA" (default "CTA") - The filter type identifier, fixed as 'CTA'
- ctaName string - The name of the CTA to filter against
- operator string - The comparison operator applied to the CTA filter
hubspot.crm.lists: PublicDatePoint
Represents a specific date point with year, month, day, and optional time components, anchored to a time zone
Fields
- month Signed32 - The month component of the date point (1–12)
- hour? Signed32 - The hour component of the time (0–23)
- year Signed32 - The year component of the date point
- timezoneSource? string - The source used to determine the time zone
- millisecond? Signed32 - The millisecond component of the time (0–999)
- timeType "DATE" (default "DATE") - The time type identifier, fixed as 'DATE'
- zoneId string - The IANA time zone ID used to interpret the date point
- day Signed32 - The day component of the date point (1–31)
- minute? Signed32 - The minute component of the time (0–59)
- second? Signed32 - The second component of the date-time value
hubspot.crm.lists: PublicDatePropertyOperation
Defines a filter operation on a date property using a specific day, month, and year with a comparison operator
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the date property has no value
- month string - The month component of the target date for the filter operation
- year Signed32 - The year component of the target date for the filter operation
- operationType "DATE" (default "DATE") - Operation type identifier, fixed as 'DATE'
- day Signed32 - The day component of the target date for the filter operation
- operator string - The comparison operator applied to the date property value
hubspot.crm.lists: PublicDateTimePropertyOperation
Defines a datetime property filter operation with operator, timestamp, and timezone settings
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where this property has no value
- requiresTimeZoneConversion boolean - Whether the timestamp requires timezone conversion before evaluation
- operationType "DATETIME" (default "DATETIME") - The operation type identifier; must be 'DATETIME'
- operator string - The comparison operator applied to the datetime property value
- timestamp Signed32 - The reference timestamp (int32) used in the datetime comparison
hubspot.crm.lists: PublicEmailEventFilter
Filter definition for matching records based on email events, such as opens, clicks, bounces, or replies, scoped to a specific email and app
Fields
- clickUrl? string - URL of the link clicked within the email, used when filtering by click events
- level string - Scope level at which the email event filter is applied
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Optional refinement criteria to narrow event matches by occurrence count, frequency, or time range
- appId string - Identifier of the app associated with the email event
- emailId string - Identifier of the specific email to filter events against
- filterType "EMAIL_EVENT" (default "EMAIL_EVENT") - Filter type identifier, always set to
EMAIL_EVENT
- operator "LINK_CLICKED"|"MARKED_SPAM"|"OPENED"|"OPENED_BUT_LINK_NOT_CLICKED"|"OPENED_BUT_NOT_REPLIED"|"REPLIED"|"UNSUBSCRIBED"|"BOUNCED"|"RECEIVED"|"RECEIVED_BUT_NOT_OPENED"|"SENT"|"SENT_BUT_LINK_NOT_CLICKED"|"SENT_BUT_NOT_RECEIVED" - The email event action to filter on (e.g., OPENED, CLICKED, BOUNCED)
hubspot.crm.lists: PublicEmailSubscriptionFilter
Defines a filter that matches records based on email subscription status and subscription IDs
Fields
- subscriptionType? string - The type of email subscription used to categorize the filter
- subscriptionIds string[] - Array of subscription IDs to include in the email subscription filter
- filterType "EMAIL_SUBSCRIPTION" (default "EMAIL_SUBSCRIPTION") - Identifies the filter type; always set to EMAIL_SUBSCRIPTION for this schema
- acceptedStatuses string[] - Array of subscription statuses that satisfy this filter condition
hubspot.crm.lists: PublicEnumerationPropertyOperation
Defines a filter operation that evaluates an enumeration property against a set of specified values
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value set
- values string[] - List of enumeration values to match against
- operationType "ENUMERATION" (default "ENUMERATION") - The operation type identifier, fixed to 'ENUMERATION'
- operator string - The comparison operator applied to the enumeration property
hubspot.crm.lists: PublicEventAnalyticsFilter
Defines a filter based on an analytics event, supporting coalescing and pruning refinements to control event occurrence matching
Fields
- eventId string - The unique identifier of the analytics event to filter on
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine-by criteria that merges or aggregates matching event occurrences before evaluation
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine-by criteria that narrows the set of event occurrences considered during evaluation
- filterType "EVENT" (default "EVENT") - Filter type identifier, fixed as 'EVENT'
- operator string - The comparison operator applied to the analytics event filter
hubspot.crm.lists: PublicEventFilterMetadata
Defines filter metadata for an event, pairing a property name with a typed filter operation to evaluate against that property
Fields
- property string - The name of the event property to filter on
- operation PublicBoolPropertyOperation|PublicNumberPropertyOperation|PublicStringPropertyOperation|PublicDateTimePropertyOperation|PublicRangedDatePropertyOperation|PublicComparativePropertyUpdatedOperation|PublicComparativeDatePropertyOperation|PublicRollingDateRangePropertyOperation|PublicRollingPropertyUpdatedOperation|PublicEnumerationPropertyOperation|PublicAllPropertyTypesOperation|PublicRangedNumberPropertyOperation|PublicMultiStringPropertyOperation|PublicDatePropertyOperation|PublicCalendarDatePropertyOperation|PublicTimePointOperation|PublicRangedTimeOperation - The filter operation applied to the specified property, supporting multiple property types
hubspot.crm.lists: PublicFiscalQuarterReference
Defines a fiscal quarter time reference with date and time components
Fields
- hour? Signed32 - The hour component of the fiscal quarter reference timestamp
- month Signed32 - The month component of the fiscal quarter reference date
- millisecond? Signed32 - The millisecond component of the fiscal quarter reference timestamp
- referenceType "FISCAL_QUARTER" (default "FISCAL_QUARTER") - The reference type identifier, always set to 'FISCAL_QUARTER'
- day Signed32 - The day component of the fiscal quarter reference date
- minute? Signed32 - The minute component of the fiscal quarter reference timestamp
- second? Signed32 - The second component of the fiscal quarter reference timestamp
hubspot.crm.lists: PublicFiscalYearReference
A time reference point anchored to a fiscal year boundary
Fields
- hour? Signed32 - Hour component of the fiscal year reference timestamp
- month Signed32 - Month component of the fiscal year reference timestamp
- millisecond? Signed32 - Millisecond component of the fiscal year reference timestamp
- referenceType "FISCAL_YEAR" (default "FISCAL_YEAR") - Discriminator identifying this reference as type FISCAL_YEAR
- day Signed32 - Day component of the fiscal year reference timestamp
- minute? Signed32 - Minute component of the fiscal year reference timestamp
- second? Signed32 - Second component of the fiscal year reference timestamp
hubspot.crm.lists: PublicFormSubmissionFilter
Filter that matches contacts based on form submission activity, supporting occurrence and timestamp refinements
Fields
- formId? string - The unique identifier of the form to filter by
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines filter results by aggregating across all matching submission events
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines filter results by restricting to a specific subset of submission events
- filterType "FORM_SUBMISSION" (default "FORM_SUBMISSION") - The filter type identifier; always set to FORM_SUBMISSION
- operator "FILLED_OUT"|"NOT_FILLED_OUT" - Operator indicating whether the form was filled out or not
hubspot.crm.lists: PublicFormSubmissionOnPageFilter
A filter that matches contacts based on form submissions on a specific page
Fields
- formId? string - The unique identifier of the form to filter on
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines matching by coalescing events based on time range or occurrence criteria
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines the filter by pruning events based on time range or occurrence criteria
- filterType "FORM_SUBMISSION_ON_PAGE" (default "FORM_SUBMISSION_ON_PAGE") - Filter type identifier, always set to
FORM_SUBMISSION_ON_PAGE
- pageId string - The unique identifier of the page where the form submission occurred
- operator "FILLED_OUT"|"NOT_FILLED_OUT" - Specifies whether the form was filled out or not (
FILLED_OUT,NOT_FILLED_OUT)
hubspot.crm.lists: PublicIndexedTimePoint
A time point defined relative to a named index reference such as now, today, or a fiscal period
Fields
- offset? PublicIndexOffset - Represents a composite time offset broken down into individual calendar and time unit components
- timezoneSource? string - Source used to determine the timezone for this time point
- indexReference PublicNowReference|PublicTodayReference|PublicWeekReference|PublicFiscalQuarterReference|PublicFiscalYearReference|PublicYearReference|PublicQuarterReference|PublicMonthReference - The named time reference anchor, such as now, today, week, month, quarter, or year
- timeType "INDEXED" (default "INDEXED") - Discriminator identifying this time point as INDEXED type
- zoneId string - IANA timezone ID used to resolve the time point
hubspot.crm.lists: PublicIndexOffset
Represents a composite time offset broken down into individual calendar and time unit components
Fields
- milliseconds? Signed32 - Milliseconds component of the time offset
- hours? Signed32 - Hours component of the time offset
- seconds? Signed32 - Seconds component of the time offset
- months? Signed32 - Months component of the time offset
- weeks? Signed32 - Weeks component of the time offset
- minutes? Signed32 - Minutes component of the time offset
- quarters? Signed32 - Quarters component of the time offset
- days? Signed32 - Days component of the time offset
- years? Signed32 - Years component of the time offset
hubspot.crm.lists: PublicInListFilter
Filter that matches contacts or objects based on membership in a specified list
Fields
- listId string - The unique identifier of the list used for membership filtering
- metadata? PublicInListFilterMetadata - Metadata describing a filter condition that checks membership in a list
- filterType "IN_LIST" (default "IN_LIST") - The filter type identifier, always set to IN_LIST
- operator string - The operator used to evaluate list membership
hubspot.crm.lists: PublicInListFilterMetadata
Metadata describing a filter condition that checks membership in a list
Fields
- id string - The unique identifier of the target list
- inListType string - The type classification of the in-list filter condition
hubspot.crm.lists: PublicIntegrationEventFilter
A filter that targets records based on a specific integration event type
Fields
- eventTypeId Signed32 - The numeric ID of the integration event type to filter on
- filterLines PublicEventFilterMetadata[] - The metadata conditions applied to the integration event filter
- filterType "INTEGRATION_EVENT" (default "INTEGRATION_EVENT") - The filter type identifier, always 'INTEGRATION_EVENT'
hubspot.crm.lists: PublicListFolder
Represents a folder that organizes lists, including its hierarchy, child nodes, and metadata
Fields
- createdAt? string - The time the folder was created at
- parentFolderId Signed32 - The Id of the folder this folder is in, the root folder is represented as 0
- childNodes PublicListFolder[] - Nested subfolders contained within this folder
- name? string - The name of the folder
- id Signed32 - The Id of the folder
- childLists Signed32[] - An array of list Id's contained in this folder
- updatedContentsAt? string - The time that the contents of the folder was last updated at
- userId? Signed32 - The user Id of the owner of the folder
- updatedAt? string - The time the folder was last updated at
hubspot.crm.lists: PublicMigrationMapping
Maps a legacy list ID to its corresponding V3 list ID to support list migration
Fields
- listId string - The V3 list id for the list
- legacyListId string - The legacy list id for the list
hubspot.crm.lists: PublicMonthReference
Defines a time reference anchored to a specific day and time within the current month
Fields
- hour? Signed32 - Hour component of the month-based time reference
- millisecond? Signed32 - Millisecond component of the month-based time reference
- referenceType "MONTH" (default "MONTH") - Reference type identifier, fixed value 'MONTH'
- day Signed32 - Day of the month for the time reference
- minute? Signed32 - Minute component of the month-based time reference
- second? Signed32 - Second component of the month-based time reference
hubspot.crm.lists: PublicMultiStringPropertyOperation
A property operation that evaluates a set of string values using a multi-string comparison operator
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value
- values string[] - The list of string values to evaluate against the property
- operationType "MULTISTRING" (default "MULTISTRING") - The operation type identifier, fixed to 'MULTISTRING'
- operator string - The comparison operator applied to the multi-string values
hubspot.crm.lists: PublicNotAllFilterBranch
A filter branch that matches records satisfying none of the specified nested filter conditions
Fields
- filterBranchType "NOT_ALL" (default "NOT_ALL") - Discriminator identifying this filter branch as type NOT_ALL
- filterBranches PublicNotAllFilterBranchFilterBranches[] - Nested filter branches evaluated under the NOT_ALL condition
- filterBranchOperator string - Logical operator applied across the filter branch conditions
- filters PublicNotAllFilterBranchFilters[] - Array of individual filters evaluated within this NOT_ALL branch
hubspot.crm.lists: PublicNotAnyFilterBranch
Filter branch that excludes records matching any of the specified conditions
Fields
- filterBranchType "NOT_ANY" (default "NOT_ANY") - Discriminator identifying this branch as a NOT_ANY filter branch
- filterBranches PublicNotAnyFilterBranchFilterBranches[] - Nested filter branches evaluated within this NOT_ANY branch
- filterBranchOperator string - Logical operator applied across filters in this branch
- filters PublicNotAnyFilterBranchFilters[] - Individual filters evaluated within this NOT_ANY branch
hubspot.crm.lists: PublicNowReference
A relative date reference representing the current moment, with optional time offset components
Fields
- hour? Signed32 - The hour component of the now reference time
- millisecond? Signed32 - Millisecond component of the current time reference
- referenceType "NOW" (default "NOW") - Reference type identifier, fixed value 'NOW'
- minute? Signed32 - Minute component of the current time reference
- second? Signed32 - Second component of the current time reference
hubspot.crm.lists: PublicNumAssociationsFilter
Defines a filter that evaluates the number of associations of a specified type and category for an object
Fields
- coalescingRefineBy PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines the filter by specifying occurrence count, set, or timestamp-based constraints
- associationTypeId Signed32 - The numeric ID identifying the association type to filter on
- associationCategory string - The category of the association type used in the filter
- filterType "NUM_ASSOCIATIONS" (default "NUM_ASSOCIATIONS") - The filter type identifier; must be set to NUM_ASSOCIATIONS
hubspot.crm.lists: PublicNumberPropertyOperation
Defines a numeric property filter operation with an operator, value, and null-value handling
Fields
- includeObjectsWithNoValueSet boolean - Whether to include records where the property has no value
- operationType "NUMBER" (default "NUMBER") - The operation type identifier; always set to "NUMBER"
- value decimal - The numeric value to compare against the property
- operator string - The comparison operator applied to the numeric property value
hubspot.crm.lists: PublicNumOccurrencesRefineBy
Refines filter results by constraining the number of event occurrences
Fields
- maxOccurrences? Signed32 - The maximum number of occurrences allowed to match the filter
- 'type "NUM_OCCURRENCES" (default "NUM_OCCURRENCES") - The refine-by type; always 'NUM_OCCURRENCES'
- minOccurrences? Signed32 - The minimum number of occurrences required to match the filter
hubspot.crm.lists: PublicObjectList
Represents a HubSpot object list, including its metadata, processing state, and filter configuration
Fields
- processingType string - The processing type of the list
- objectTypeId string - The object type of the list
- updatedById? string - The ID of the user that last updated the list
- filtersUpdatedAt? string - The time when the filters for this list were last updated
- listId string - The ILS ID of the list
- createdAt? string - The time when the list was created
- processingStatus string - The processing status of the list
- deletedAt? string - The time when the list was deleted
- listVersion Signed32 - The version of the list
- size? int - The total number of records currently in the list
- name string - The name of the list
- createdById? string - The ID of the user that created the list
- filterBranch? PublicOrFilterBranch|PublicAndFilterBranch|PublicNotAllFilterBranch|PublicNotAnyFilterBranch|PublicRestrictedFilterBranch|PublicUnifiedEventsFilterBranch|PublicPropertyAssociationFilterBranch|PublicAssociationFilterBranch - The root filter branch defining the membership criteria for the list
- updatedAt? string - The time the list was last updated
hubspot.crm.lists: PublicObjectListSearchResult
Represents a list search result, including metadata such as name, ILS ID, object type, processing status, version, timestamps, and any additional requested properties
Fields
- processingType string - The processing type of the list
- objectTypeId string - The object type of the list
- updatedById? string - The ID of the user that last updated the list
- filtersUpdatedAt? string - The time when the filters for this list were last updated
- listId string - The ILS ID of the list
- createdAt? string - The time when the list was created
- processingStatus string - The processing status of the list
- deletedAt? string - The time when the list was deleted
- listVersion Signed32 - The version of the list
- name string - The name of the list
- additionalProperties record { string... } - The name and value of any additional properties that exist for this list and that were included in the search request
- createdById? string - The ID of the user that created the list
- updatedAt? string - The time the list was last updated
hubspot.crm.lists: PublicOrFilterBranch
A filter branch that combines nested branches and filters using OR logic
Fields
- filterBranchType "OR" (default "OR") - Branch type identifier, always set to
OR
- filterBranches PublicOrFilterBranchFilterBranches[] - Nested filter branches evaluated within this OR branch
- filterBranchOperator string - The logical operator applied to this filter branch
- filters PublicOrFilterBranchFilters[] - The individual filters evaluated within this OR branch
hubspot.crm.lists: PublicPageViewAnalyticsFilter
Filter criteria for segmenting contacts based on page view analytics events
Fields
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine filter results by occurrence count, set, or timestamp criteria
- enableTracking? boolean - Whether analytics tracking is enabled for this filter
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Narrows the filter window by occurrence count, set, or timestamp range
- pageUrl string - The URL of the page to filter contacts by view activity
- filterType "PAGE_VIEW" (default "PAGE_VIEW") - Identifies the filter type; always set to PAGE_VIEW for this filter
- operator string - The comparison operator applied to the page view filter condition
hubspot.crm.lists: PublicPrivacyAnalyticsFilter
Defines a privacy-based analytics filter using a privacy name and comparison operator
Fields
- privacyName string - The name of the privacy setting used in the filter
- filterType "PRIVACY" (default "PRIVACY") - The filter type identifier, fixed to 'PRIVACY'
- operator string - The comparison operator applied to the privacy filter
hubspot.crm.lists: PublicPropertyAssociationFilterBranch
Filter branch scoped to associated object property conditions
Fields
- filterBranchType "PROPERTY_ASSOCIATION" (default "PROPERTY_ASSOCIATION") - Filter branch type identifier; always 'PROPERTY_ASSOCIATION'
- filterBranches PublicPropertyAssociationFilterBranchFilterBranches[] - Nested filter branches for compound association conditions
- objectTypeId string - The ID of the associated object type being filtered
- filterBranchOperator string - Logical operator applied across the filter branch conditions
- filters PublicPropertyAssociationFilterBranchFilters[] - Array of individual filters applied within this branch
- propertyWithObjectId string - Property name that holds the associated object's identifier
- operator string - Operator defining how the association condition is evaluated
hubspot.crm.lists: PublicPropertyAssociationInListFilter
A filter that matches records based on a property association with members of a specified list
Fields
- listId string - The unique identifier of the list used for the association filter
- coalescingRefineBy PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refines matching by coalescing events based on time range or occurrence criteria
- propertyWithObjectId string - The property containing the associated object's ID
- filterType "PROPERTY_ASSOCIATION" (default "PROPERTY_ASSOCIATION") - Filter type identifier; always
PROPERTY_ASSOCIATION
- toObjectTypeId? string - The object type ID of the associated target object
- operator string - The comparison operator applied to the association filter
hubspot.crm.lists: PublicPropertyFilter
Defines a filter that evaluates a specific object property using a supported property operation type
Fields
- property string - The name of the object property to filter on
- filterType "PROPERTY" (default "PROPERTY") - The filter type identifier; must be set to PROPERTY
- operation PublicBoolPropertyOperation|PublicNumberPropertyOperation|PublicStringPropertyOperation|PublicDateTimePropertyOperation|PublicRangedDatePropertyOperation|PublicComparativePropertyUpdatedOperation|PublicComparativeDatePropertyOperation|PublicRollingDateRangePropertyOperation|PublicRollingPropertyUpdatedOperation|PublicEnumerationPropertyOperation|PublicAllPropertyTypesOperation|PublicRangedNumberPropertyOperation|PublicMultiStringPropertyOperation|PublicDatePropertyOperation|PublicCalendarDatePropertyOperation|PublicTimePointOperation|PublicRangedTimeOperation - The operation applied to the property, supporting bool, number, string, date, enumeration, and range-based comparisons
hubspot.crm.lists: PublicPropertyReferencedTime
Represents a time value derived from a referenced property, including timezone and reference type configuration
Fields
- timezoneSource? string - The source used to determine the timezone for the time value
- property string - The name of the property from which the time value is referenced
- timeType "PROPERTY_REFERENCED" (default "PROPERTY_REFERENCED") - Time type identifier; always
PROPERTY_REFERENCED
- zoneId string - The timezone zone ID applied to the referenced time value
- referenceType string - The type of reference used to resolve the property time value
hubspot.crm.lists: PublicQuarterReference
Represents a quarter-based time reference with specific date and time components for filtering or segmentation
Fields
- hour? Signed32 - The hour component of the quarter reference time
- month Signed32 - The month component of the quarter reference date
- millisecond? Signed32 - The millisecond component of the quarter reference time
- referenceType "QUARTER" (default "QUARTER") - Identifies the reference type; always set to QUARTER for this schema
- day Signed32 - The day component of the quarter reference date
- minute? Signed32 - The minute component of the quarter reference time
- second? Signed32 - The second component of the quarter reference time
hubspot.crm.lists: PublicRangedDatePropertyOperation
A property operation that filters records where a date value falls within a specified range
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects with no value set for this property
- upperBound Signed32 - The upper bound of the date range as an integer value
- requiresTimeZoneConversion boolean - Whether the date value requires time zone conversion
- operationType "RANGED_DATE" (default "RANGED_DATE") - The operation type identifier, always set to RANGED_DATE
- lowerBound Signed32 - The lower bound of the date range as an integer value
- operator string - The comparison operator applied to the ranged date property
hubspot.crm.lists: PublicRangedNumberPropertyOperation
Defines a ranged number operation that filters records whose numeric property value falls within a specified range
Fields
- includeObjectsWithNoValueSet boolean - Whether to include records with no value set for the property
- upperBound Signed32 - The inclusive upper bound of the numeric range
- operationType "NUMBER_RANGED" (default "NUMBER_RANGED") - The operation type identifier; always 'NUMBER_RANGED'
- lowerBound Signed32 - The inclusive lower bound of the numeric range
- operator string - The comparison operator applied to evaluate the numeric range
hubspot.crm.lists: PublicRangedTimeOperation
Defines a ranged time operation filtering records where a time property falls between two time points
Fields
- upperBoundEndpointBehavior? string - Defines whether the upper bound is inclusive or exclusive
- includeObjectsWithNoValueSet boolean - Whether to include records with no value for the property
- upperBoundTimePoint PublicDatePoint|PublicIndexedTimePoint|PublicPropertyReferencedTime - The upper boundary time point for the ranged time filter
- propertyParser? string - Parser used to interpret the property's time value format
- operationType string - Identifies the category of operation being applied
- 'type "TIME_RANGED" (default "TIME_RANGED") - Operation type identifier; always set to TIME_RANGED
- lowerBoundEndpointBehavior? string - Defines whether the lower bound is inclusive or exclusive
- operator string - The comparison operator applied to the time range
- lowerBoundTimePoint PublicDatePoint|PublicIndexedTimePoint|PublicPropertyReferencedTime - The lower boundary time point for the ranged time filter
hubspot.crm.lists: PublicRelativeComparativeTimestampRefineBy
Refines a timestamp filter using a relative comparative offset and comparison type
Fields
- comparison string - The comparison direction applied to the relative time offset
- timeOffset PublicTimeOffset - Defines a time offset with a magnitude, unit, and direction for relative time calculations
- 'type "RELATIVE_COMPARATIVE" (default "RELATIVE_COMPARATIVE") - Discriminator identifying this refine-by type as RELATIVE_COMPARATIVE
hubspot.crm.lists: PublicRelativeRangedTimestampRefineBy
Refines a timestamp filter using a relative range defined by upper and lower bound time offsets
Fields
- upperBoundOffset PublicTimeOffset - Defines a time offset with a magnitude, unit, and direction for relative time calculations
- rangeType string - Specifies the type of relative time range applied to the timestamp filter
- lowerBoundOffset PublicTimeOffset - Defines a time offset with a magnitude, unit, and direction for relative time calculations
- 'type "RELATIVE_RANGED" (default "RELATIVE_RANGED") - Discriminator type identifying this refine-by as RELATIVE_RANGED
hubspot.crm.lists: PublicRestrictedFilterBranch
A restricted filter branch grouping nested filter branches and individual filters with a logical operator
Fields
- filterBranchType "RESTRICTED" (default "RESTRICTED") - Filter branch type identifier, fixed value 'RESTRICTED'
- filterBranches PublicRestrictedFilterBranchFilterBranches[] - Nested filter branches contained within this restricted branch
- filterBranchOperator string - Logical operator applied across the filters and nested branches
- filters PublicRestrictedFilterBranchFilters[] - Collection of individual filters applied within this branch
hubspot.crm.lists: PublicRollingDateRangePropertyOperation
Operation that evaluates a property against a rolling date range spanning a specified number of days
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects that have no value set for the property
- requiresTimeZoneConversion boolean - Whether the date range evaluation requires time zone conversion
- operationType "ROLLING_DATE_RANGE" (default "ROLLING_DATE_RANGE") - The operation type identifier; always set to ROLLING_DATE_RANGE
- numberOfDays Signed32 - The number of days defining the rolling date range window
- operator string - The comparison operator applied within the rolling date range
hubspot.crm.lists: PublicRollingPropertyUpdatedOperation
Defines a rolling filter operation that matches records whose property was updated within a specified number of days
Fields
- includeObjectsWithNoValueSet boolean - Whether to include records that have no value set for the property
- operationType "ROLLING_PROPERTY_UPDATED" (default "ROLLING_PROPERTY_UPDATED") - The operation type identifier, fixed as ROLLING_PROPERTY_UPDATED
- numberOfDays Signed32 - The number of days in the rolling window for the property update check
- operator string - The comparison operator applied in the rolling property updated operation
hubspot.crm.lists: PublicSetOccurrencesRefineBy
Refine-by definition that filters based on a predefined set of occurrence values
Fields
- 'type "SET_OCCURRENCES" (default "SET_OCCURRENCES") - The refine-by type identifier, fixed as 'SET_OCCURRENCES'
- setType string - The category or kind of occurrence set to apply
hubspot.crm.lists: PublicStringPropertyOperation
Defines a string property operation, including the operator, value, and whether to include objects with no value set
Fields
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value
- operationType "STRING" (default "STRING") - Operation type identifier; always
STRING
- value string - The string value used in the property operation comparison
- operator string - The comparison operator applied to the string property
hubspot.crm.lists: PublicSurveyMonkeyFilter
Filters records based on SurveyMonkey survey participation
Fields
- surveyId string - The unique identifier of the SurveyMonkey survey
- filterType "SURVEY_MONKEY" (default "SURVEY_MONKEY") - Filter type identifier, fixed as 'SURVEY_MONKEY'
- operator string - The comparison operator applied to the SurveyMonkey filter
hubspot.crm.lists: PublicSurveyMonkeyValueFilter
Filter that evaluates contacts based on a specific SurveyMonkey survey response value
Fields
- valueComparison PublicBoolPropertyOperation|PublicNumberPropertyOperation|PublicStringPropertyOperation|PublicDateTimePropertyOperation|PublicRangedDatePropertyOperation|PublicComparativePropertyUpdatedOperation|PublicComparativeDatePropertyOperation|PublicRollingDateRangePropertyOperation|PublicRollingPropertyUpdatedOperation|PublicEnumerationPropertyOperation|PublicAllPropertyTypesOperation|PublicRangedNumberPropertyOperation|PublicMultiStringPropertyOperation|PublicDatePropertyOperation|PublicCalendarDatePropertyOperation|PublicTimePointOperation|PublicRangedTimeOperation - The property operation used to compare the survey response value
- surveyId string - The unique identifier of the SurveyMonkey survey
- surveyQuestion string - The survey question whose response value is being evaluated
- filterType "SURVEY_MONKEY_VALUE" (default "SURVEY_MONKEY_VALUE") - The filter type identifier, always set to SURVEY_MONKEY_VALUE
- surveyAnswerRowId? string - The row identifier for a specific survey answer in a matrix question
- surveyAnswerColId? string - The column ID of the survey answer to filter on
- operator string - The comparison operator applied to the survey answer value
hubspot.crm.lists: PublicTimeOffset
Defines a time offset with a magnitude, unit, and direction for relative time calculations
Fields
- amount int - The magnitude of the time offset
- offsetDirection string - The direction of the time offset (e.g., forward or backward)
- timeUnit string - The unit of time for the offset (e.g., days, hours, minutes)
hubspot.crm.lists: PublicTimePointOperation
A time-point filter operation that evaluates a property against a specific point in time
Fields
- endpointBehavior? string - Defines how the time-point boundary is handled (inclusive/exclusive)
- includeObjectsWithNoValueSet boolean - Whether to include objects where the property has no value set
- propertyParser? string - The parser used to interpret the property value for comparison
- operationType "TIME_POINT" (default "TIME_POINT") - The operation type identifier; always
TIME_POINTfor this schema
- timePoint PublicDatePoint|PublicIndexedTimePoint|PublicPropertyReferencedTime - The reference time point: a date, indexed time, or property-referenced time
- 'type string - The property type to which this time-point operation applies
- operator string - The comparison operator used to evaluate the time-point condition
hubspot.crm.lists: PublicTodayReference
A relative date reference representing today, with optional time components for precise intraday targeting
Fields
- hour? Signed32 - The hour component of the today reference time
- millisecond? Signed32 - The millisecond component of the today reference time
- referenceType "TODAY" (default "TODAY") - The reference type identifier, fixed value 'TODAY'
- minute? Signed32 - The minute component of the today reference time
- second? Signed32 - The second component of the today reference time
hubspot.crm.lists: PublicUnifiedEventsFilter
Filter definition for segmenting lists based on unified event criteria
Fields
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine filter by merging overlapping event occurrences using a specified strategy
- eventTypeId? string - Identifier of the unified event type to filter against
- filterLines PublicEventFilterMetadata[] - Array of event filter metadata conditions applied to this filter
- pruningRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - Refine filter by pruning event occurrences outside a specified scope
- filterType "UNIFIED_EVENTS" (default "UNIFIED_EVENTS") - Discriminator identifying this filter as type UNIFIED_EVENTS
hubspot.crm.lists: PublicUnifiedEventsFilterBranch
A filter branch that evaluates membership based on unified event criteria
Fields
- filterBranchType "UNIFIED_EVENTS" (default "UNIFIED_EVENTS") - The filter branch type; always 'UNIFIED_EVENTS'
- filterBranches PublicUnifiedEventsFilterBranchFilterBranches[] - Nested filter branches applied within this unified events branch
- eventTypeId string - The unique identifier of the unified event type to filter on
- coalescingRefineBy? PublicNumOccurrencesRefineBy|PublicSetOccurrencesRefineBy|PublicRelativeComparativeTimestampRefineBy|PublicRelativeRangedTimestampRefineBy|PublicAbsoluteComparativeTimestampRefineBy|PublicAbsoluteRangedTimestampRefineBy|PublicAllHistoryRefineBy|PublicTimePointOperation|PublicRangedTimeOperation - An optional refinement condition applied across matched event occurrences
- filterBranchOperator string - The logical operator used to combine filters within this branch
- filters PublicUnifiedEventsFilterBranchFilters[] - The individual filters applied to unified event properties
- operator "HAS_COMPLETED"|"HAS_NOT_COMPLETED" - Specifies whether the record has or has not completed the event
hubspot.crm.lists: PublicWebinarFilter
Defines a filter that segments records based on webinar participation or registration
Fields
- webinarId? string - The unique identifier of the target webinar
- filterType "WEBINAR" (default "WEBINAR") - Filter type identifier; always set to WEBINAR
- operator string - The operator defining the webinar filter condition
hubspot.crm.lists: PublicWeekReference
A time reference anchored to a specific day and optional time within a week
Fields
- dayOfWeek "MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|"SUNDAY" - The day of the week for the reference point
- hour? Signed32 - The hour component of the week reference time
- millisecond? Signed32 - The millisecond component of the week reference time
- referenceType "WEEK" (default "WEEK") - The reference type identifier, fixed value 'WEEK'
- minute? Signed32 - The minute component of the week reference time
- second? Signed32 - The second component of the week reference time
hubspot.crm.lists: PublicYearReference
A date/time reference anchored to a specific year, with optional time components
Fields
- hour? Signed32 - The hour component of the year reference time
- month Signed32 - The month component of the year reference date
- millisecond? Signed32 - The millisecond component of the year reference time
- referenceType "YEAR" (default "YEAR") - Identifies the reference type; always set to 'YEAR'
- day Signed32 - The day component of the year reference date
- minute? Signed32 - The minute component of the year reference time
- second? Signed32 - The second component of the year reference time
hubspot.crm.lists: PutFoldersFolderIdRenameRenameQueries
Represents the Queries record for the operation: putFoldersFolderIdRenameRename
Fields
- newFolderName? string - The new name to assign to the folder
hubspot.crm.lists: PutListIdUpdateListFiltersUpdateListFiltersQueries
Represents the Queries record for the operation: putListIdUpdateListFiltersUpdateListFilters
Fields
- enrollObjectsInWorkflows boolean(default false) - A flag indicating whether or not the memberships added to the list as a result of the filter change should be enrolled in workflows that are relevant to this list
hubspot.crm.lists: PutListIdUpdateListNameUpdateNameQueries
Represents the Queries record for the operation: putListIdUpdateListNameUpdateName
Fields
- listName? string - The name to update the list to
- includeFilters boolean(default false) - A flag indicating whether or not the response object list definition should include a filter branch definition. By default, object list definitions will not have their filter branch definitions included in the response
hubspot.crm.lists: RecordListMembership
Represents a record's membership in a list, including timestamps for when it was first and last added
Fields
- listId string - The unique identifier of the list
- listVersion Signed32 - The version number of the list at time of membership
- lastAddedTimestamp string - Timestamp of the most recent addition to the list
- firstAddedTimestamp string - Timestamp when the record was first added to the list
Union types
hubspot.crm.lists: PublicAssociationFilterBranchFilters
PublicAssociationFilterBranchFilters
A filter applied within an association branch; one of many supported filter types
hubspot.crm.lists: PublicUnifiedEventsFilterBranchFilterBranches
PublicUnifiedEventsFilterBranchFilterBranches
A polymorphic filter branch supporting OR, AND, NOT ALL, NOT ANY, restricted, unified events, property association, and association branch types
hubspot.crm.lists: PublicNotAllFilterBranchFilters
PublicNotAllFilterBranchFilters
A union type representing any supported filter variant applicable within a NOT ALL filter branch
hubspot.crm.lists: PublicUnifiedEventsFilterBranchFilters
PublicUnifiedEventsFilterBranchFilters
A filter branch condition for unified events, accepting one of the supported filter types such as property, association, analytics, form submission, email, subscription, campaign, survey, webinar, or list filters
hubspot.crm.lists: PublicOrFilterBranchFilterBranches
PublicOrFilterBranchFilterBranches
A nested filter branch within an OR branch; one of several supported branch types
hubspot.crm.lists: PublicRestrictedFilterBranchFilters
PublicRestrictedFilterBranchFilters
A filter applied within a restricted branch; must match exactly one of the supported filter types
hubspot.crm.lists: PublicNotAnyFilterBranchFilters
PublicNotAnyFilterBranchFilters
A union of all supported filter types applicable within a NOT ANY filter branch
hubspot.crm.lists: PublicAndFilterBranchFilters
PublicAndFilterBranchFilters
A union type representing any supported filter that can appear within an AND filter branch
hubspot.crm.lists: PublicPropertyAssociationFilterBranchFilters
PublicPropertyAssociationFilterBranchFilters
A polymorphic filter supporting one of many available filter types for property association branches
hubspot.crm.lists: PublicOrFilterBranchFilters
PublicOrFilterBranchFilters
A filter within an OR branch, represented as one of the supported filter types
hubspot.crm.lists: PublicRestrictedFilterBranchFilterBranches
PublicRestrictedFilterBranchFilterBranches
A polymorphic filter branch that resolves to one of the supported branch types: OR, AND, NOT_ALL, NOT_ANY, restricted, unified events, property association, or association
hubspot.crm.lists: PublicNotAnyFilterBranchFilterBranches
PublicNotAnyFilterBranchFilterBranches
A filter branch variant used within a NOT ANY branch, accepting one of several supported filter branch types
hubspot.crm.lists: PublicNotAllFilterBranchFilterBranches
PublicNotAllFilterBranchFilterBranches
A filter branch that accepts one of several supported filter branch types
hubspot.crm.lists: PublicPropertyAssociationFilterBranchFilterBranches
PublicPropertyAssociationFilterBranchFilterBranches
A filter branch node within a property association filter, accepting one of several supported branch types including OR, AND, NOT ALL, NOT ANY, restricted, unified events, property association, or association branches
hubspot.crm.lists: PublicAssociationFilterBranchFilterBranches
PublicAssociationFilterBranchFilterBranches
A filter branch node within an association filter, accepting one of several supported branch types including OR, AND, NOT ALL, NOT ANY, restricted, unified events, property association, or association branches
hubspot.crm.lists: PublicAndFilterBranchFilterBranches
PublicAndFilterBranchFilterBranches
The collection of nested filter branches combined using AND logic. Each branch must be one of the supported filter branch types
Import
import ballerinax/hubspot.crm.lists;Metadata
Released date: 15 days ago
Version: 1.0.2
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.2
GraalVM compatible: Yes
Pull count
Total: 46
Current verison: 17
Weekly downloads
Keywords
lists
Vendor/HubSpot
Area/CRM & Sales
Type/Connector
Contributors