Hubspot

Learn how to use Hubspot with Composio

Overview

Enum

HUBSPOT

Description

HubSpot is an inbound marketing, sales, and customer service platform integrating CRM, email automation, and analytics to facilitate lead nurturing and seamless customer experiences

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to account-info.security.read,accounting,cms.domains.read,cms.domains.write,crm.export,crm.import,crm.lists.read,crm.lists.write,crm.objects.companies.read,crm.objects.companies.write,crm.objects.contacts.read,crm.objects.contacts.write,crm.objects.deals.read,crm.objects.deals.write,crm.objects.marketing_events.read,crm.objects.marketing_events.write,crm.objects.owners.read,crm.objects.quotes.read,crm.objects.quotes.write,crm.schemas.companies.read,crm.schemas.companies.write,crm.schemas.contacts.read,crm.schemas.contacts.write,oauth,settings.users.read,settings.users.write,tickets,timeline,e-commerce,crm.objects.custom.read,crm.schemas.custom.read,content,automation,sales-email-read
base_url
stringDefaults to https://api.hubapi.com
token
stringRequired
base_url
stringDefaults to https://api.hubapi.com

Actions

Retrieves the recording settings for a specific calling extension app in the hubspot crm system. this endpoint allows developers to fetch the current configuration for call recording associated with a particular app integration. it’s useful for auditing, troubleshooting, or displaying the current recording settings to users. the endpoint should be used when you need to review or verify the recording configuration for a specific app, such as before making changes or when setting up a new integration. note that this endpoint only provides read access to the settings and does not allow modifications.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Resets the draft back to a copy of the live object.

Action Parameters

emailId
stringRequired

Action Response

data
object
successful
boolean
error

List all the valid association types available between two object types

Action Parameters

fromObjectType
stringRequired
toObjectType
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a specific marketing email from the hubspot system. this endpoint should be used when you need to permanently remove a marketing email from your hubspot account. it’s particularly useful for cleaning up outdated or unnecessary email content, or when you need to comply with data management policies. be cautious when using this endpoint, as the deletion is irreversible - once an email is deleted, it cannot be recovered. this endpoint only handles the deletion process and does not provide any information about the email being deleted or return the deleted content.

Action Parameters

emailId
stringRequired
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for company objects in the hubspot crm using custom criteria. it provides a powerful way to filter and retrieve company data based on specific properties or conditions. use this endpoint when you need to find companies matching certain criteria, such as industry, size, or custom properties. the search is performed using a post request with a json body containing the search parameters. the endpoint returns a paginated collection of matching company objects, making it efficient for handling large datasets.

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

This endpoint creates a duplicate of an existing marketing email in hubspot. it allows users to quickly replicate the content, design, and settings of a previously created email, saving time in the email creation process. the cloned email can be given a new name, making it easy to identify and manage multiple versions or variations of an email campaign. this tool is particularly useful when creating similar email campaigns or when testing different versions of an email while maintaining the original intact. note that while the email is cloned, it does not automatically send the new email or add it to any existing workflows or campaigns.

Action Parameters

cloneName
string
id
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a specific ticket from the hubspot crm system based on its id or a unique property value. it allows for customized responses by specifying which properties to include, fetching property history, and retrieving associated object ids. the endpoint is useful for getting detailed information about a single ticket, including its current state, historical changes, and related crm objects. it supports both active and archived tickets and can use custom id properties for ticket lookup.

Action Parameters

ticketId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Archives a specific line item in hubspot’s crm system by moving it to the recycling bin. this endpoint should be used when you need to remove a line item from active use without permanently deleting it. it’s particularly useful for data cleanup or when you want to hide outdated or irrelevant line items while retaining the ability to restore them later if needed. note that this action doesn’t permanently delete the line item, but rather moves it to a recoverable state in the recycling bin.

Action Parameters

lineItemId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieve emails sent by a workflow by id. returns information about email campaigns associated with the specified workflow.

Action Parameters

workflow_id
stringRequired
limit
integerDefaults to 100

Action Response

data
object
successful
boolean
error

Gets all marketing emails from a hubspot account. results can be filtered using various parameters.

Action Parameters

limit
integerDefaults to 20
after
string
createdAt
string
createdAfter
string
updatedAt
string
sort
array

Action Response

data
object
successful
boolean
error

Restores a previous revision of a marketing email. the current revision becomes old, and the restored revision is given a new version number.

Action Parameters

emailId
stringRequired
revisionId
stringRequired

Action Response

data
object
successful
boolean
error

Disassociate a specified asset from a campaign. important: currently, only the following asset types can be associated and disassociated via the api: forms, static lists, external website pages

Action Parameters

campaignGuid
stringRequired
assetType
stringRequired
assetId
stringRequired

Action Response

data
object
successful
boolean
error

Creates multiple email objects in hubspot’s crm system in a single api call. this endpoint is ideal for bulk email creation, allowing you to efficiently add numerous emails with custom properties and crm object associations. use this when you need to create multiple emails simultaneously, such as importing a batch of email records or setting up a series of automated emails. the endpoint provides flexibility in defining email properties and associations, enabling integration with various aspects of your hubspot crm data. note that this endpoint creates email objects in the crm, but does not send the emails; it’s primarily for record-keeping and crm management purposes.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves the configuration settings for a specific video conference application integrated with hubspot. this endpoint allows developers to access the current settings of their video conferencing extension, such as webhook urls and application-specific configurations. it’s particularly useful when you need to verify or audit the current setup of your video conferencing integration. the endpoint returns an externalsettings object containing the application’s configuration details. use this endpoint when you need to review or troubleshoot your video conferencing application settings within hubspot’s crm system.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Get a list of workflows for a hubspot portal. returns metadata for each workflow, useful for looking up workflows by id or displaying available workflows.

Action Parameters

limit
integerDefaults to 100

Action Response

data
object
successful
boolean
error

Creates a new contact in the hubspot crm system with the provided properties. this endpoint allows you to add a new contact to your hubspot database, populating it with the specified information. it’s ideal for scenarios where you need to programmatically create contacts, such as when integrating with other systems or automating lead capture processes. the endpoint returns a copy of the created contact object, including its unique id, which can be used for further operations or reference. note that while the endpoint offers flexibility in terms of properties you can set, it’s important to provide at least one property to create a meaningful contact entry.

Action Parameters

associations
array
custom_properties
object
address
string
annualrevenue
string
associatedcompanyid
string
associatedcompanylastupdated
string
city
string
closedate
string
company
string
company_size
string
country
string
createdate
string
currentlyinworkflow
string
date_of_birth
string
days_to_close
string
degree
string
email
string
engagements_last_meeting_booked
string
engagements_last_meeting_booked_campaign
string
engagements_last_meeting_booked_medium
string
engagements_last_meeting_booked_source
string
fax
string
field_of_study
string
first_conversion_date
string
first_conversion_event_name
string
first_deal_created_date
string
firstname
string
followercount
string
gender
string
graduation_date
string
hs_additional_emails
string
hs_all_accessible_team_ids
string
hs_all_assigned_business_unit_ids
string
hs_all_contact_vids
string
hs_all_owner_ids
string
hs_all_team_ids
string
hs_analytics_average_page_views
string
hs_analytics_first_referrer
string
hs_analytics_first_timestamp
string
hs_analytics_first_touch_converting_campaign
string
hs_analytics_first_url
string
hs_analytics_first_visit_timestamp
string
hs_analytics_last_referrer
string
hs_analytics_last_timestamp
string
hs_analytics_last_touch_converting_campaign
string
hs_analytics_last_url
string
hs_analytics_last_visit_timestamp
string
hs_analytics_num_event_completions
string
hs_analytics_num_page_views
string
hs_analytics_num_visits
string
hs_analytics_revenue
string
hs_analytics_source
string
hs_analytics_source_data_1
string
hs_analytics_source_data_2
string
hubspot_owner_assigneddate
string
hubspot_owner_id
string
hubspot_team_id
string
hubspotscore
string
industry
string
ip_city
string
ip_country
string
ip_country_code
string
ip_latlon
string
ip_state
string
ip_state_code
string
ip_zipcode
string
job_function
string
jobtitle
string
kloutscoregeneral
string
lastmodifieddate
string
lastname
string
lifecyclestage
string
linkedinbio
string
linkedinconnections
string
marital_status
string
message
string
military_status
string
mobilephone
string
notes_last_contacted
string
notes_last_updated
string
notes_next_activity_date
string
num_associated_deals
string
num_contacted_notes
string
num_conversion_events
string
num_notes
string
num_unique_conversion_events
string
numemployees
string
owneremail
string
ownername
string
phone
string
photo
string
recent_conversion_date
string
recent_conversion_event_name
string
recent_deal_amount
string
recent_deal_close_date
string
relationship_status
string
salutation
string
school
string
seniority
string
start_date
string
state
string
surveymonkeyeventlastupdated
string
total_revenue
string
twitterbio
string
twitterhandle
string
twitterprofilephoto
string
webinareventlastupdated
string
website
string
work_email
string
zip
string

Action Response

data
object
successful
boolean
error

Creates multiple timeline events in batch for hubspot’s crm based on an event template. this endpoint allows for efficient creation of multiple immutable events on object timelines, with the ability to update object properties if configured in the template. use this when you need to add multiple historical or real-time events to contact, company, or deal records in hubspot. it’s particularly useful for bulk imports or synchronizing events from external systems. note that once created, these events cannot be modified, so ensure accuracy before submission.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates a new product object in the hubspot crm system with the specified properties. this endpoint is used to add new products to your e-commerce catalog within hubspot. it allows you to define various attributes of the product such as name, price, description, and any custom properties configured in your hubspot account. upon successful creation, the endpoint returns a copy of the created product object, including its unique id assigned by hubspot. this tool is particularly useful for integrating external e-commerce systems with hubspot or for programmatically managing your product catalog. note that this endpoint creates basic product entries and may not support complex product configurations or variants.(DEPRECATED use create_product_object)

Action Parameters

associations
array
custom_properties
object
name
string
description
string
hs_sku
string
hs_product_id
string
price
number
hs_recurring_billing_period
string
hs_cost_of_goods_sold
number
hs_active
boolean
hs_archived
boolean
hs_featured
boolean
hs_product_type
string
hs_product_category
string
hs_product_subcategory
string
quantity
integer
tax_category
string
hs_url
string
hs_images
string
hs_valid_from
string
hs_valid_through
string
hs_product_status
string

Action Response

data
object
successful
boolean
error

Creates multiple company records in hubspot’s crm system in a single api call. this endpoint is designed for efficiently adding a large number of companies to your hubspot account, which is particularly useful for bulk imports or when syncing data from another system. it allows for the creation of up to 100 companies per request, significantly reducing the number of api calls needed for large-scale operations. the endpoint returns detailed information about the success or failure of each company creation attempt, enabling easy tracking and error handling for batch operations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Searches for contacts in the hubspot crm based on specified criteria. this endpoint allows for complex queries to filter and retrieve contact data, supporting various search parameters such as property filters, sorting options, and pagination. it’s ideal for finding specific contacts or groups of contacts that match certain conditions. the endpoint returns a collection of matching contacts along with total count and paging information, enabling efficient data retrieval and navigation through large result sets. use this when you need to perform advanced searches on your contact database or when integrating contact search functionality into your applications.

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

Archives a specific ticket in the hubspot crm system by moving it to the recycling bin. this endpoint should be used when you need to remove a ticket from active status, such as when a support issue has been resolved or is no longer relevant. the operation is permanent and cannot be undone through the api, so use it cautiously. this tool is ideal for cleaning up your ticket management system or implementing automated ticket archiving processes based on certain criteria.

Action Parameters

ticketId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a batch of companies in the hubspot crm system using their unique ids. this endpoint allows for efficient bulk archiving of multiple companies simultaneously, which is particularly useful for data cleanup, removing outdated records, or managing large datasets. it should be used when you need to archive numerous companies at once, saving time compared to individual archiving operations. the endpoint does not delete the companies but moves them to an archived state, making them less prominent in the active crm view while still retaining the data. note that this operation cannot be undone through the api, so use it cautiously and ensure you have the correct company ids before proceeding.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Initiates a data import process in hubspot’s crm system. this endpoint allows you to upload one or more files containing data and start the import process to create or update crm objects such as contacts, companies, or deals. it converts rows in the uploaded files to objects in the crm based on the mapping specified in the import request. use this endpoint when you need to bulk import or update data in your hubspot crm. the import process is asynchronous, so this call starts the process but doesn’t wait for it to complete. you’ll need to use separate endpoints to check the status of the import job. be cautious when using this endpoint, as it can potentially create or modify large amounts of data in your crm.

Action Parameters

files
object
importRequest
string

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for feedback submissions in hubspot’s crm using specified criteria. it’s designed for retrieving and filtering feedback data efficiently, supporting complex queries to find relevant submissions. the search functionality can be used to analyze customer feedback, track specific types of submissions, or gather data for reporting purposes. the endpoint returns a collection of matching feedback submissions along with pagination information for handling large result sets. note that this endpoint has a rate limit exemption, allowing for more frequent requests compared to standard endpoints.

Action Parameters

query
string
limit
integerRequired
after
stringRequired
sorts
arrayRequired
properties
arrayRequired
filterGroups
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of crm owners in hubspot. it allows you to fetch owner information with optional filtering by email address and archived status. the endpoint supports pagination for efficient data retrieval, making it ideal for applications that need to display or process owner data in manageable chunks. use this when you need to access owner information across your hubspot crm, such as for user management, reporting, or integration with other systems.(DEPRECATED use retrieve_page_of_crm_owners)

Action Parameters

email
string
after
string
limit
integerDefaults to 100
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to retrieve multiple line items from hubspot’s crm in a single api call. it accepts a batch of line item identifiers or property values and returns the corresponding line item details. this is particularly useful for efficiently fetching data for multiple line items simultaneously, reducing the number of api calls needed. the endpoint can optionally filter results to include only archived items. it’s important to note that partial success is possible, where some line items may be successfully retrieved while others fail. error handling is provided for failed operations within the batch.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to archive multiple crm objects of a specified type in bulk. it’s designed for efficiently removing a large number of objects from active use in your hubspot crm. the archived objects are not deleted but are no longer accessible through standard crm operations. this is particularly useful for maintaining a clean and relevant database by archiving old or irrelevant records. use this endpoint when you need to archive many objects at once, such as during data cleanup operations or when removing outdated records. be cautious when using this endpoint, as archiving is a significant action that affects data accessibility and may impact related records or integrations.

Action Parameters

objectType
stringRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of line items from the hubspot crm. this endpoint allows you to fetch detailed information about line items, which represent individual products or services within deals or orders. it offers flexible querying options, including customizable property selection, association retrieval, and filtering for archived items. use this endpoint when you need to access or analyze line item data in bulk, such as for reporting, data synchronization, or building custom integrations with hubspot’s crm. the endpoint supports pagination for handling large datasets efficiently.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Creates a new feedback submission in the hubspot crm system with the provided properties. this endpoint allows you to programmatically add customer feedback to your hubspot account, enabling better tracking and analysis of customer sentiments and experiences. use this when you need to submit feedback collected from various channels (e.g., surveys, support interactions, or product reviews) into hubspot. the endpoint returns a copy of the created feedback submission object, including its unique id, which can be used for future reference or updates. note that the specific properties available for feedback submissions may depend on your hubspot account configuration and custom properties.

Action Parameters

associations
arrayRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific quote from the hubspot crm by its unique identifier. this endpoint allows for detailed customization of the returned data, including specific properties, property history, and associated objects. it’s particularly useful when you need to fetch comprehensive information about a single quote, including its current state, historical changes, and relationships with other crm objects. use this endpoint when you need to access or display detailed quote information in your application, or when you need to verify the current state of a quote before taking further actions.

Action Parameters

quoteId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Get aggregated statistics in intervals for a specified time span. each interval contains aggregated statistics of the emails that were sent in that time.

Action Parameters

interval
string
startTimestamp
string
endTimestamp
string
emailIds
array

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific line item in hubspot’s crm using its unique identifier. this endpoint allows for flexible querying of line item data, including custom properties, historical values, and associated objects. it’s particularly useful for accessing up-to-date information about individual products or services within a deal, supporting various use cases such as order management, inventory tracking, or sales analysis. the endpoint offers granular control over the returned data, enabling efficient and tailored data retrieval based on specific business needs.(DEPRECATED use retrieve_line_item_by_id)

Action Parameters

lineItemId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Updates an existing event template and its associated tokens in hubspot’s crm timeline. this endpoint allows you to modify the headertemplate and detailtemplate of an existing template, with changes taking effect for existing events. it also provides the ability to update or replace all tokens in the template in a single api call, streamlining the process of managing dynamic content. use this endpoint when you need to revise the structure or content of an existing event template, rather than creating a new one. it’s particularly useful for maintaining consistency across events while allowing for necessary updates to template designs or token configurations.

Action Parameters

eventTemplateId
stringRequired
appId
integerRequired
detailTemplate
string
name
stringRequired
tokens
arrayRequired
id
stringRequired
headerTemplate
string

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of products from the hubspot crm, allowing for customizable property selection and association retrieval. this endpoint is ideal for applications that need to display or process product information in batches, such as inventory management systems or e-commerce integrations. it supports filtering for archived products and can return the history of property values, making it useful for tracking changes over time. the endpoint’s paging mechanism enables efficient handling of large product catalogs, ensuring optimal performance for applications dealing with extensive product data.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to retrieve multiple tickets from hubspot’s crm system in a single api call. it’s designed for efficient bulk retrieval of ticket data, which is particularly useful for synchronization tasks, reporting, or updating local databases. the endpoint accepts a list of ticket identifiers (either ids or unique property values) and returns the corresponding ticket objects with their properties. it can handle both fully successful operations and partial successes, providing detailed error information for any tickets that couldn’t be retrieved. use this endpoint when you need to fetch data for multiple tickets simultaneously, reducing the number of api calls and improving performance for bulk operations.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of companies from the hubspot crm. this endpoint allows you to fetch company data with fine-grained control over the returned properties and associations. it’s ideal for scenarios where you need to list multiple companies, such as populating a company directory or performing bulk operations. the endpoint supports cursor-based pagination for efficiently handling large datasets and allows filtering for archived companies. use this when you need to fetch multiple company records at once, rather than retrieving a single company by id.

Action Parameters

limit
integerDefaults to 5
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint retrieves detailed information about a specific crm property for a given object type in hubspot. it allows users to access custom fields and data associated with various crm objects such as deals, contacts, or companies. the endpoint is particularly useful when you need to verify the configuration, datatype, or other metadata of a specific property. it should be used when detailed property information is required, but not for bulk property retrieval or creating/updating properties.(DEPRECATED use read_a_crm_property_by_name)

Action Parameters

objectType
stringRequired
propertyName
stringRequired
archived
boolean
properties
string

Action Response

data
object
successful
boolean
error

Creates multiple contact records in hubspot’s crm system in a single api call. this endpoint is designed for efficient bulk creation of contacts, making it ideal for data imports, migrations, or synchronization between systems. it allows you to create up to 100 contacts simultaneously, significantly reducing the number of api calls required for large-scale contact creation. the endpoint returns detailed information about the success or failure of each contact creation attempt, enabling easy tracking and error handling for batch operations.(DEPRECATED use create_batch_of_contacts)

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to update multiple product records in hubspot’s crm system in a single api call. it’s designed for bulk updates, improving efficiency when modifying numerous products simultaneously. use this endpoint when you need to update multiple products’ information, such as prices, descriptions, or any other product properties. the endpoint processes the updates in batch, returning either a successful operation result or detailed error information for any products that couldn’t be updated. keep in mind that there may be limitations on the number of products that can be updated in a single batch, so refer to hubspot’s documentation for specific constraints.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Searches for deals in the hubspot crm based on specified criteria. this endpoint allows for complex filtering, sorting, and property selection of deal objects. it’s ideal for finding deals that match specific conditions, such as those in a particular pipeline stage or with certain property values. the endpoint supports pagination for handling large result sets and can be used to power custom deal reports or dashboards. it should be used when you need to retrieve a subset of deals matching particular criteria rather than fetching all deals or a single deal by id.

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

Update a batch of deals.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific line item in hubspot’s crm using its unique identifier. this endpoint allows for flexible querying of line item data, including custom properties, historical values, and associated objects. it’s particularly useful for accessing up-to-date information about individual products or services within a deal, supporting various use cases such as order management, inventory tracking, or sales analysis. the endpoint offers granular control over the returned data, enabling efficient and tailored data retrieval based on specific business needs.

Action Parameters

lineItemId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a specific property group within hubspot’s crm. it enables you to modify existing property groups for various crm object types like contacts, companies, deals, or tickets. the endpoint is particularly useful when you need to make targeted changes to a property group without affecting its entire configuration. it accepts a json payload with the fields to be updated and returns the modified property group. this tool should be used when reorganizing or refining your crm’s data structure, but care should be taken as changes may affect how data is displayed and organized in the hubspot interface.

Action Parameters

objectType
stringRequired
groupName
stringRequired
displayOrder
integer
label
string

Action Response

data
object
successful
boolean
error

Merges two objects of the same type within the hubspot crm. this endpoint allows you to combine data from two separate objects into a single, unified object. use this when you need to consolidate duplicate records or combine information from multiple sources. the merge operation is permanent and cannot be undone, so ensure you have backups or are certain about the merge before proceeding. this tool is particularly useful for data cleansing and maintaining a single source of truth in your crm.

Action Parameters

objectType
stringRequired
objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for batch reading of contact records in the hubspot crm by their ids or specific properties. it’s designed for efficiently retrieving data for multiple contacts in a single api call, which is particularly useful when dealing with large datasets or when you need to update your local database with the latest contact information from hubspot. the endpoint supports filtering for archived contacts and allows you to specify which properties you want to retrieve for each contact, providing flexibility and optimizing data transfer. it’s important to note that this endpoint may return partial results if some contacts can’t be processed, so be prepared to handle both fully successful responses and responses with errors for individual contacts.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of contacts from the hubspot crm. it allows for flexible querying with options to specify the number of results per page, filter properties, include historical property values, and fetch associated object ids. the endpoint is ideal for tasks such as synchronizing contact data with external systems, generating reports, or displaying contact information in a user interface. it supports pagination for handling large datasets efficiently and provides fine-grained control over the data returned for each contact.(DEPRECATED use list_contacts_page)

Action Parameters

limit
integerDefaults to 5
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific owner in the hubspot crm system. this endpoint allows you to fetch owner data using either their unique owner id or user id. it’s particularly useful when you need to access an owner’s profile, such as their name, email, or other associated details. the endpoint can retrieve both active and archived owners, making it versatile for various use cases including user management, audit trails, or data synchronization between systems. note that this endpoint focuses on individual owner retrieval and does not support bulk operations or modifications to owner data.(DEPRECATED use retrieve_owner_by_id_or_user_id)

Action Parameters

ownerId
integerRequired
idProperty
stringDefaults to id
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to merge two company records of the same type in hubspot’s crm system. it combines the data from two separate company entries into a single, consolidated record. this operation is useful for eliminating duplicate company entries, consolidating information from multiple sources, or cleaning up your crm database. the merge process is irreversible, so it should be used with caution and only when you are certain that the two companies are indeed duplicates or need to be combined. after the merge, the primary company record will contain the consolidated information, while the secondary company record will be removed from the crm.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Get a campaign identified by a specific campaignguid with the given properties. along with the campaign information, it also returns information about assets. depending on the query parameters used, this can also be used to return information about the corresponding assets’ metrics. metrics are available only if startdate and enddate are provided.

Action Parameters

campaignGuid
stringRequired
startDate
string
endDate
string
properties
array

Action Response

data
object
successful
boolean
error

Archives a batch of deals in the hubspot crm by their ids. this endpoint allows for bulk archiving of multiple deals simultaneously, which is useful for removing outdated or irrelevant deals from active view. it should be used when you need to archive numerous deals at once, improving crm organization and performance. note that archiving is a significant action that removes deals from standard views and reports, so use this endpoint cautiously and ensure you have backups or a way to unarchive if needed.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

The batchreademails endpoint allows for efficient retrieval of multiple email objects and their properties from hubspot’s crm in a single api call. this endpoint is particularly useful when you need to fetch data for numerous emails simultaneously, reducing the number of individual api requests and improving performance. it provides flexibility in selecting which properties to retrieve, including the option to fetch historical data for specific properties. use this endpoint when you need to bulk retrieve email data, such as for reporting, data synchronization, or populating a custom interface with email information from hubspot. note that this endpoint is designed for reading data only and cannot be used for updating or creating email objects.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Updates an existing object schema in hubspot’s crm, allowing you to modify the structure and attributes of custom objects. this endpoint is essential for evolving your crm data model as your business needs change. use it to add, modify, or remove properties from your custom object schemas, ensuring that your crm data structure remains aligned with your organizational requirements. this operation is particularly useful when you need to accommodate new data points or refine existing ones within your custom objects.

Action Parameters

objectType
stringRequired
description
string
secondaryDisplayProperties
array
requiredProperties
array
searchableProperties
array
primaryDisplayProperty
string
restorable
boolean
labels__plural
string
labels__singular
string

Action Response

data
object
successful
boolean
error

This endpoint creates a new ticket object in the hubspot crm system. it allows you to programmatically generate support tickets with specified properties. use this endpoint when you need to create tickets automatically, such as from user submissions on your website or from internal systems. the endpoint accepts a json payload with ticket details and returns the created ticket object, including its newly assigned id. this is particularly useful for integrating external systems with hubspot’s customer service workflows. note that the specific fields available for ticket creation may depend on your hubspot account configuration.

Action Parameters

associations
array
custom_properties
object
closed_date
string
content
string
created_by
string
createdate
string
first_agent_reply_date
string
hs_all_accessible_team_ids
array
hs_all_assigned_business_unit_ids
array
hs_all_associated_contact_companies
array
hs_all_associated_contact_emails
array
hs_all_associated_contact_firstnames
array
hs_all_associated_contact_lastnames
array
hs_all_associated_contact_mobilephones
array
hs_all_associated_contact_phones
array
hs_all_conversation_mentions
array
hs_all_owner_ids
array
hs_all_team_ids
array
hs_assigned_team_ids
array
hs_assignment_method
string
hs_auto_generated_from_thread_id
string
hs_conversations_originating_message_id
string
hs_conversations_originating_thread_id
string
hs_created_by_user_id
string
hs_lastcontacted
string
hs_lastmodifieddate
string
hs_pipeline
string
hs_pipeline_stage
string
hs_primary_company
string
hs_tag_ids
array
hs_ticket_category
string
hs_ticket_priority
string
hubspot_owner_id
string
hubspot_team_id
string
last_engagement_date
string
last_reply_date
string
notes_last_contacted
string
notes_last_updated
string
notes_next_activity_date
string
source_type
string
subject
string
time_to_close
string

Action Response

data
object
successful
boolean
error

Updates specific properties of a feedback submission object in hubspot’s crm system. this endpoint allows for partial updates, meaning only the properties provided in the request body will be modified. it’s useful for making targeted changes to feedback data without affecting the entire object. the endpoint can identify the feedback submission using either its internal id or a unique property value. use this when you need to update survey responses, modify feedback details, or adjust any custom properties associated with a feedback submission. note that read-only properties cannot be modified, and attempting to update non-existent properties will have no effect.

Action Parameters

feedbackSubmissionId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Retrieve detailed information about the budget and spend items for a specified campaign, including the total budget, total spend, and remaining budget. budget and spend items may be returned in any order, but the order field specifies their sequence based on the creation date. the item with order 0 is the oldest, and items with higher order values are newer

Action Parameters

campaignGuid
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific property group for a given crm object type in hubspot. this endpoint allows developers to access the structure and attributes of property groups, which are collections of related properties within the crm system. use this tool when you need to understand the organization of properties for a particular object type or when working with custom property groups. it provides essential metadata about the group but does not return the actual property values for crm objects.

Action Parameters

objectType
stringRequired
groupName
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to update the recording settings for a specific calling app integrated with hubspot’s crm. it enables you to modify how call recordings are handled and stored for the specified app. use this endpoint when you need to change recording configurations, such as enabling/disabling recording, setting storage options, or updating compliance settings. this operation directly affects how calls are recorded and managed within the hubspot ecosystem for the given app, so use it cautiously and ensure you understand the implications of the changes.

Action Parameters

appId
integerRequired
urlToRetrieveAuthedRecording
string

Action Response

data
object
successful
boolean
error

Cancels an active import process in the hubspot crm system. this endpoint allows you to immediately stop an ongoing data import, which is useful for preventing unwanted data from being added to your crm or halting an import that was started by mistake. it should be used when you need to urgently stop a data import that is currently in progress. note that this action is irreversible, and any data that has already been imported will remain in the system. the endpoint returns an actionresponse indicating the success or failure of the cancellation request.

Action Parameters

importId
integerRequired

Action Response

data
object
successful
boolean
error

Creates a new custom object schema in hubspot’s crm, allowing you to define tailored data structures with custom properties and associations. this endpoint is essential for businesses that need to store and manage unique data types not covered by hubspot’s standard objects. use this when you need to extend your crm’s capabilities to handle industry-specific or company-specific data. the response includes the complete object schema, including the newly assigned object type id, all defined properties, and associations, providing immediate confirmation and details of the created schema.

Action Parameters

description
string
secondaryDisplayProperties
array
requiredProperties
arrayRequired
searchableProperties
array
primaryDisplayProperty
string
name
stringRequired
associatedObjects
arrayRequired
properties
arrayRequired
labels__plural
string
labels__singular
string

Action Response

data
object
successful
boolean
error

Retrieves all pipelines for a specified object type in hubspot’s crm system. this endpoint allows users to fetch the complete set of pipelines associated with a particular crm object, such as deals or tickets. it’s essential for understanding the workflow stages and organization of different object types within a hubspot account. use this endpoint when you need a comprehensive view of how a specific object type is managed through various stages in the crm.

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

Archives a specific crm object in hubspot by moving it to the recycling bin. this endpoint allows you to remove an object from active use without permanently deleting it, providing a safety net for accidental deletions. it can be used for various crm object types such as contacts, companies, deals, or quotes. the operation is irreversible through the api, but the object can be restored from the recycling bin in the hubspot interface if needed.

Action Parameters

objectType
stringRequired
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to archive multiple contacts in the hubspot crm simultaneously by providing their ids. it’s particularly useful for bulk operations when you need to remove several contacts from active use in your crm. the endpoint accepts a json object containing an array of contact ids and performs the archive operation on all specified contacts. upon successful execution, the contacts will be marked as archived in the hubspot system, making them inactive and no longer visible in the main contact lists. this operation is irreversible through this api, so use it cautiously. if you need to restore archived contacts, you would need to use a separate unarchive endpoint or do it manually through the hubspot interface.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes a contact and all associated content to comply with gdpr regulations. it’s specifically designed for data erasure requests under gdpr. the endpoint allows for contact identification by email address using an optional ‘idproperty’ set to ‘email’. if the email is not found, it’s added to a blocklist to prevent future use. this action is irreversible and should be used with caution, only when a valid gdpr erasure request is received. it ensures complete removal of contact data, helping businesses maintain gdpr compliance.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a contact in the hubspot crm using the contact’s internal object id. it enables you to modify specific properties of a contact without affecting other properties not included in the update. the endpoint accepts a json object with the properties to be updated and their new values. it’s particularly useful for updating individual fields of a contact record without having to send a complete contact object. note that read-only properties will be ignored, and you can clear property values by sending an empty string. this endpoint should be used when you need to make targeted updates to a contact’s information without overwriting the entire record.

Action Parameters

contactId
stringRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Move an object identified by {emailid} to the recycling bin.

Action Parameters

emailId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint deletes a specific timeline event template from hubspot’s crm system. it permanently removes the template and all associated events from search results and the timeline ui. use this endpoint when you need to completely remove an event template and its data from your hubspot application. this operation is irreversible, so it should be used with caution. before deletion, ensure that the template and its associated events are no longer needed, as they cannot be recovered after deletion. the endpoint requires both the event template id and the app id for precise identification and execution of the deletion process.

Action Parameters

eventTemplateId
stringRequired
appId
integerRequired

Action Response

data
object
successful
boolean
error

Permanently deletes a company record and all associated content from hubspot’s crm system to comply with gdpr regulations. this endpoint should be used when a company exercises their right to be forgotten under gdpr. it permanently removes all data related to the specified company, including associated contacts, deals, and other records. use with caution as this action is irreversible and will result in complete data loss for the specified company.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

Partially updates a crm object in hubspot by its object type and id. this endpoint allows you to modify specific properties of various crm object types (such as contacts, deals, companies, or quotes) without affecting unspecified fields. it’s ideal for updating only necessary information, improving efficiency in data management. the endpoint supports using either the internal object id or a unique property value for object identification, offering flexibility in how you reference your crm data.

Action Parameters

objectType
stringRequired
objectId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of crm objects of a specified type from hubspot, with customizable property and association data. it allows for efficient querying of large datasets by supporting pagination, property filtering, and inclusion of associated object information. the endpoint is versatile, supporting various object types and enabling the retrieval of both current and historical property values. it’s particularly useful for bulk data retrieval, data synchronization, and building comprehensive views of crm data including related entities.

Action Parameters

objectType
stringRequired
limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of tickets from the hubspot crm, allowing for customized data retrieval and filtering. it’s designed for querying ticket data with flexible property selection, historical data retrieval, and association mapping. the endpoint supports pagination for handling large datasets efficiently and provides options for including archived tickets. use this when you need to fetch ticket data for reporting, analysis, or synchronization with other systems. it’s particularly useful for building custom dashboards, generating reports, or integrating hubspot ticket data with external customer support tools. note that the amount of data returned can be significant, especially when using the propertieswithhistory parameter, which may impact the maximum number of tickets retrievable in a single request.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple tickets in the hubspot crm simultaneously. it’s designed for bulk ticket creation, which is particularly useful for importing support requests from external systems or creating multiple related tickets efficiently. the endpoint accepts a batch of ticket data and processes them in a single api call, reducing the number of individual requests needed. use this when you need to create multiple support tickets at once, such as during data migration or when integrating with other customer support platforms. note that while this endpoint can handle multiple tickets, there may be limits on the number of tickets that can be created in a single batch, so check hubspot’s documentation for current limitations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Perform a partial update of a campaign identified by the specified campaignguid. provided property values will be overwritten. read-only and non-existent properties will cause 400 error. if an empty string is passed for any property in the batch update, it will reset that property’s value.

Action Parameters

campaignGuid
stringRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Permanently delete a contact and all associated content to follow gdpr. use optional property ‘idproperty’ set to ‘email’ to identify contact by email address. if email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

Updates the configuration settings for a specific video conferencing application integrated with hubspot. this endpoint allows developers to modify various settings such as webhook urls, application credentials, or custom parameters that control how the video conferencing app interacts with hubspot’s crm. it’s used when changes to the application’s behavior or integration setup are needed, such as updating oauth tokens or changing notification preferences. the endpoint requires the application’s unique identifier and accepts a json payload with the new settings. it returns the updated settings object, allowing verification of the changes made.

Action Parameters

appId
integerRequired
userVerifyUrl
string
fetchAccountsUri
string
createMeetingUrl
stringRequired
updateMeetingUrl
string
deleteMeetingUrl
string

Action Response

data
object
successful
boolean
error

This endpoint allows you to read a batch of products by their ids or properties from the hubspot crm. it’s particularly useful for retrieving information about multiple products simultaneously, improving efficiency when dealing with large datasets. the endpoint supports optional filtering for archived products and provides detailed responses, including potential errors for each product in the batch.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple crm properties in a single api call for a specified object type in hubspot. it’s particularly useful when setting up or updating your crm schema in bulk, saving time and reducing the number of api calls needed. the endpoint follows the same rules and constraints as creating individual properties, ensuring consistency in your crm structure. use this when you need to add several new fields to your crm objects efficiently, such as during initial setup or when expanding your data model. note that while this operation is atomic, it may result in partial success, so always check the response for any errors on specific properties.

Action Parameters

objectType
stringRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of contacts from the hubspot crm. it allows for flexible querying with options to specify the number of results per page, filter properties, include historical property values, and fetch associated object ids. the endpoint is ideal for tasks such as synchronizing contact data with external systems, generating reports, or displaying contact information in a user interface. it supports pagination for handling large datasets efficiently and provides fine-grained control over the data returned for each contact.

Action Parameters

limit
integerDefaults to 5
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint retrieves detailed information about a specific crm property for a given object type in hubspot. it allows users to access custom fields and data associated with various crm objects such as deals, contacts, or companies. the endpoint is particularly useful when you need to verify the configuration, datatype, or other metadata of a specific property. it should be used when detailed property information is required, but not for bulk property retrieval or creating/updating properties.

Action Parameters

objectType
stringRequired
propertyName
stringRequired
archived
boolean
properties
string

Action Response

data
object
successful
boolean
error

Purges (permanently deletes) a schema associated with a specific object type in hubspot’s crm. this endpoint should be used when you need to completely remove a custom schema definition for an object type, such as when cleaning up unused or outdated schemas. it’s important to note that this action is irreversible and may have significant implications on data integrity and related operations. use this endpoint with extreme caution, as it will permanently delete the schema and potentially affect any data or processes relying on it. this endpoint is deprecated, which means it may be removed in future versions of the api, and alternative methods should be considered for managing schemas.

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

Merges two deals of the same type in hubspot’s crm system. this endpoint allows you to combine information from two separate deal records into a single, consolidated deal. use this when you need to eliminate duplicate deals or combine related opportunities. the merge operation is permanent and can’t be undone, so ensure you have the correct deal ids before proceeding. after merging, one deal will be designated as the primary record, retaining the most up-to-date information from both deals.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a company in the hubspot crm by moving it to the recycling bin. this endpoint should be used when you need to remove a company from active use without permanently deleting it. archiving a company may affect its visibility and associations within the crm. once archived, the company can be restored if needed, but it won’t appear in most standard company lists or searches. use this endpoint with caution, as it can impact reporting and user access to company data.

Action Parameters

companyId
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new custom property for a specified crm object type in hubspot. this endpoint allows you to extend the data model of your crm objects by adding new fields to store additional information. use this when you need to capture custom data that isn’t covered by hubspot’s default properties. the new property will be available for use immediately after creation, allowing you to store and retrieve custom data for the specified object type. this operation is essential for tailoring your crm to your specific business needs and workflows.

Action Parameters

objectType
stringRequired
description
string
hidden
boolean
displayOrder
integer
label
stringRequired
type
stringRequired
formField
boolean
groupName
stringRequired
referencedObjectType
string
name
stringRequired
options
array
calculationFormula
string
hasUniqueValue
boolean
fieldType
stringRequired
externalOptions
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows for batch retrieval of multiple deals from hubspot’s crm by their ids or specific property values. it’s designed for efficient querying of deal data when you need to fetch information about multiple deals simultaneously. the endpoint can return both active and archived deals, depending on the ‘archived’ parameter. it’s particularly useful for synchronizing deal data with external systems, generating reports, or updating dashboards with current deal information. note that this endpoint requires appropriate authentication and is subject to hubspot’s api rate limits.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Deletes the settings for a specific video conferencing application integrated with hubspot. this endpoint should be used when you need to remove the configuration of a video conferencing app from your hubspot account, such as when discontinuing the use of a particular integration or preparing to set up a new configuration. it’s important to note that this action is irreversible and will remove all associated settings for the specified application id. this endpoint does not affect any scheduled meetings or historical data, but it will prevent the app from functioning within hubspot until reconfigured.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Retrieves all pipelines for a specified object type in hubspot’s crm system. this endpoint allows users to fetch the complete set of pipelines associated with a particular crm object, such as deals or tickets. it’s essential for understanding the workflow stages and organization of different object types within a hubspot account. use this endpoint when you need a comprehensive view of how a specific object type is managed through various stages in the crm.(DEPRECATED use retrieve_all_pipelines_for_specified_object_type)

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint deletes a batch of campaigns. the maximum number of items in a batch request is 50. the response will always be 204 no content, regardless of whether the campaigns exist or not, whether they were successfully deleted or not, or if only some of the campaigns in the batch were deleted.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes a contact and all associated content to comply with gdpr regulations. it allows for the complete removal of a contact’s data from the hubspot crm, ensuring privacy and data protection compliance. the tool provides an option to identify contacts by email address and includes a blocklist feature to prevent future use of deleted email addresses. use this endpoint when a user requests the deletion of their personal data or when you need to remove contact information to maintain gdpr compliance.

Action Parameters

objectType
stringRequired
idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to perform a partial update on a specific deal in hubspot’s crm system. it’s useful when you need to modify only certain properties of a deal without affecting the entire object. the endpoint accepts the deal’s unique identifier and a set of properties to update, making it efficient for targeted changes. it’s particularly valuable for integrations that need to sync specific deal information from external systems or update deal progress without overwriting unrelated data.

Action Parameters

dealId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to merge two contact records of the same type in hubspot’s crm system. it combines the information from two separate contact entries into a single, consolidated record. this is useful for eliminating duplicate contacts and maintaining a clean, accurate database. the merge operation is irreversible, so it should be used with caution. the endpoint requires specifying which contact should be considered the primary record, and the resulting merged contact will retain this primary contact’s id.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a company object in hubspot’s crm. it enables you to modify specific properties of a company without affecting other properties. the endpoint is particularly useful when you need to update one or more fields of a company record without having to provide all the company data. it supports identifying the company by its internal id or any unique property, and allows clearing of property values by passing empty strings. read-only and non-existent properties in the request will be ignored, ensuring safe updates.

Action Parameters

companyId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Associate a specified asset with a campaign. important: currently, only the following asset types can be associated and disassociated via the api: forms, static lists, external website pages

Action Parameters

campaignGuid
stringRequired
assetType
stringRequired
assetId
stringRequired

Action Response

data
object
successful
boolean
error

The searchemails endpoint allows you to search for and retrieve emails within the hubspot crm using various filtering and sorting options. this powerful tool enables you to find specific emails based on content, properties, and metadata. use it when you need to locate emails matching certain criteria, analyze email trends, or gather data for reporting purposes. the endpoint supports pagination for handling large result sets and allows you to specify which email properties to include in the response. it’s particularly useful for integrations that need to sync email data or for building custom email analytics solutions. note that this endpoint focuses on searching and retrieving email data; it does not provide functionality for sending or modifying emails.

Action Parameters

query
string
limit
integerRequired
after
stringRequired
sorts
arrayRequired
properties
arrayRequired
filterGroups
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves key attribution metrics for a specified campaign, such as sessions, new contacts, and influenced contacts.

Action Parameters

campaignGuid
stringRequired
startDate
string
endDate
string

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a product in hubspot’s crm system. it’s designed to modify existing product information by overwriting specified property values while preserving unmentioned properties. the endpoint is particularly useful for e-commerce integrations, enabling seamless product data management. it supports both internal object ids and custom unique properties for product identification, offering flexibility in how products are referenced and updated.

Action Parameters

productId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Merges two quotes of the same type in hubspot’s crm system. this endpoint allows you to consolidate multiple quotes into a single quote, streamlining the sales process and simplifying quote management. use this when you need to combine information from two separate quotes, such as when updating a customer’s quote with new line items or terms. the operation is irreversible, so it should be used with caution. the merged quote will contain combined information from both source quotes, with the primary quote’s properties taking precedence in case of conflicts.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Use this endpoint to create a new marketing email.

Action Parameters

feedbackSurveyId
string
rssData__blogImageMaxWidth
integer
rssData__blogEmailType
string
rssData__hubspotBlogId
string
rssData__rssEntryTemplate
string
rssData__timing
object
rssData__maxEntries
integer
rssData__useHeadlineAsSubject
boolean
rssData__blogLayout
string
rssData__url
string
subject
string
testing__abSamplingDefault
string
testing__abSampleSizeDefault
string
testing__abStatus
string
testing__abTestPercentage
integer
testing__hoursToWait
integer
testing__testId
string
testing__abSuccessMetric
string
publishDate
string
language
string
businessUnitId
string
content__smartFields
object
content__themeSettingsValues
object
content__flexAreas
object
content__widgets
object
content__plainTextVersion
string
content__templatePath
string
content__widgetContainers
object
webversion__domain
string
webversion__redirectToPageId
string
webversion__redirectToUrl
string
webversion__title
string
webversion__metaDescription
string
webversion__slug
string
webversion__expiresAt
string
archived
boolean
subscriptionDetails__officeLocationId
string
subscriptionDetails__preferencesGroupId
string
subscriptionDetails__subscriptionId
string
activeDomain
string
name
stringRequired
campaign
string
from__customReplyTo
string
from__fromName
string
from__replyTo
string
state
string
to__limitSendFrequency
boolean
to__suppressGraymail
boolean
to__contactIds__include
array
to__contactIds__exclude
array
to__contactLists__include
array
to__contactLists__exclude
array
subcategory
string
sendOnPublish
boolean

Action Response

data
object
successful
boolean
error

Create a campaign with the given properties and return the campaign object, including the campaignguid and created properties.

Action Parameters

properties
objectRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of active imports for the hubspot account. this endpoint allows users to monitor ongoing import processes, track their status, and manage bulk data operations efficiently. it’s particularly useful for checking the progress of large-scale data imports, identifying any issues, and ensuring data integrity during the import process. the endpoint returns a collection of import responses, providing detailed information about each active import job.

Action Parameters

after
string
before
string
limit
integer

Action Response

data
object
successful
boolean
error

The mergecrmemails endpoint allows you to combine two email objects in the hubspot crm into a single record. this operation is useful for de-duplicating email records, consolidating information, and maintaining a clean crm database. when called, the endpoint will merge the specified secondary email object into the primary email object, retaining the primary object’s id and updating it with any non-conflicting information from the secondary object. the secondary object will be deleted after the merge. this endpoint should be used cautiously, as the merge operation is irreversible. it’s recommended to back up your data before performing merge operations, especially when dealing with large numbers of records or critical customer information.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Configures call recording settings for a specific app within hubspot’s crm system. this endpoint allows you to set up or modify how calls are recorded, which is crucial for compliance, quality assurance, and customer service improvement. use this when you need to enable, disable, or adjust call recording features for a particular app integration. the settings applied here will affect how calls are handled and stored within the hubspot crm for the specified app.

Action Parameters

appId
integerRequired
urlToRetrieveAuthedRecording
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint lets you obtain the variation of an a/b marketing email. if the email is variation a (master) it will return variation b (variant) and vice versa.

Action Parameters

emailId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for line items in hubspot’s crm based on specific criteria. it’s particularly useful for retrieving detailed information about individual items within larger transactions or orders. you can use this endpoint to filter, sort, and paginate through line items, enabling efficient data analysis and reporting. the search is performed using a post request with a json body containing your search criteria, allowing for complex queries. the response includes a collection of matching line items along with pagination information for handling large result sets. this endpoint is ideal for scenarios where you need to analyze sales data, track specific products or services, or integrate line item information with other systems.

Action Parameters

query
string
limit
integerRequired
after
stringRequired
sorts
arrayRequired
properties
arrayRequired
filterGroups
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to archive multiple feedback submissions in bulk within your hubspot crm. it’s designed for efficient management of large volumes of feedback data, enabling you to move older or processed submissions out of active view. the operation is performed asynchronously, meaning it will be queued for processing after the request is received. use this endpoint when you need to clean up your active feedback submissions or organize your data for long-term storage. note that archived submissions are not deleted and can be retrieved if needed, but they won’t appear in standard searches or reports.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Create or update the draft version of a marketing email. if no draft exists, the system creates a draft from the current “live” email then applies the request body to that draft. the draft version only lives on the buffer—the email is not cloned.

Action Parameters

emailId
stringRequired
rssData__blogImageMaxWidth
integer
rssData__blogEmailType
string
rssData__hubspotBlogId
string
rssData__rssEntryTemplate
string
rssData__timing
object
rssData__maxEntries
integer
rssData__useHeadlineAsSubject
boolean
rssData__blogLayout
string
rssData__url
string
subject
string
testing__abSamplingDefault
string
testing__abSampleSizeDefault
string
testing__abStatus
string
testing__abTestPercentage
integer
testing__hoursToWait
integer
testing__testId
string
testing__abSuccessMetric
string
publishDate
string
language
string
businessUnitId
string
content__smartFields
object
content__themeSettingsValues
object
content__flexAreas
object
content__widgets
object
content__plainTextVersion
string
content__templatePath
string
content__widgetContainers
object
webversion__domain
string
webversion__redirectToPageId
string
webversion__redirectToUrl
string
webversion__title
string
webversion__metaDescription
string
webversion__slug
string
webversion__expiresAt
string
archived
boolean
subscriptionDetails__officeLocationId
string
subscriptionDetails__preferencesGroupId
string
subscriptionDetails__subscriptionId
string
activeDomain
string
name
string
campaign
string
from__customReplyTo
string
from__fromName
string
from__replyTo
string
state
string
to__limitSendFrequency
boolean
to__suppressGraymail
boolean
to__contactIds__include
array
to__contactIds__exclude
array
to__contactLists__include
array
to__contactLists__exclude
array
subcategory
string
sendOnPublish
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a product in hubspot’s crm system. it’s designed to modify existing product information by overwriting specified property values while preserving unmentioned properties. the endpoint is particularly useful for e-commerce integrations, enabling seamless product data management. it supports both internal object ids and custom unique properties for product identification, offering flexibility in how products are referenced and updated.(DEPRECATED use update_product)

Action Parameters

productId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Use this endpoint to get aggregated statistics of emails sent in a specified time span. it also returns the list of emails that were sent during the time span.

Action Parameters

startTimestamp
string
endTimestamp
string
emailIds
array
property
string

Action Response

data
object
successful
boolean
error

Performs a partial update on a specific quote object in the hubspot crm. this endpoint allows you to modify individual properties of an existing quote without affecting other properties not included in the update. it’s particularly useful for making targeted changes to quote information, such as updating the status, amount, or any custom properties associated with the quote. the endpoint supports identification of quotes either by their internal hubspot id or by a unique custom property, providing flexibility in how you reference and update quote objects in your integration.

Action Parameters

quoteId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Retrieves a batch of crm object properties for a specified object type in hubspot. this endpoint allows you to efficiently read multiple properties in a single api call, reducing the number of requests needed for bulk data retrieval. it’s particularly useful when you need to fetch various attributes for multiple objects of the same type, such as contacts, companies, or deals. the endpoint supports partial success, returning data for successfully processed properties while providing error information for any failed requests within the batch.

Action Parameters

objectType
stringRequired
archived
booleanRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes a deal and all associated content from hubspot’s crm for gdpr compliance purposes. it’s designed to help businesses adhere to the general data protection regulation (gdpr) by allowing the complete removal of deal data upon request. the endpoint can identify deals by email address if the optional ‘idproperty’ is set to ‘email’. if the specified email address is not found, it will be added to a blocklist to prevent future use. this operation is irreversible and should be used with caution, only when gdpr compliance requires the permanent removal of deal data.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all existing properties for a specified object type in the hubspot crm. this endpoint is crucial for understanding the structure and available fields for different crm objects such as contacts, companies, deals, or custom objects. use this tool when you need to get a comprehensive list of properties, including both default and custom properties, for a particular object type. it’s especially useful when setting up integrations, creating custom views, or preparing data imports. note that this endpoint does not return the actual values of these properties for specific records, only their definitions and metadata.

Action Parameters

objectType
stringRequired
archived
boolean
properties
string

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific pipeline stage within a hubspot crm pipeline. this endpoint allows you to fetch the properties and metadata of a single stage by providing its unique identifier, the pipeline it belongs to, and the object type it’s associated with. use this when you need to access or verify the details of a particular stage in your crm workflow, such as its label, display order, or any custom properties. this endpoint is particularly useful for applications that need to dynamically update or display pipeline stage information.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
stageId
stringRequired

Action Response

data
object
successful
boolean
error

Change properties of a marketing email.

Action Parameters

emailId
stringRequired
archived
boolean
rssData__blogImageMaxWidth
integer
rssData__blogEmailType
string
rssData__hubspotBlogId
string
rssData__rssEntryTemplate
string
rssData__timing
object
rssData__maxEntries
integer
rssData__useHeadlineAsSubject
boolean
rssData__blogLayout
string
rssData__url
string
subject
string
testing__abSamplingDefault
string
testing__abSampleSizeDefault
string
testing__abStatus
string
testing__abTestPercentage
integer
testing__hoursToWait
integer
testing__testId
string
testing__abSuccessMetric
string
publishDate
string
language
string
businessUnitId
string
content__smartFields
object
content__themeSettingsValues
object
content__flexAreas
object
content__widgets
object
content__plainTextVersion
string
content__templatePath
string
content__widgetContainers
object
webversion__domain
string
webversion__redirectToPageId
string
webversion__redirectToUrl
string
webversion__title
string
webversion__metaDescription
string
webversion__slug
string
webversion__expiresAt
string
subscriptionDetails__officeLocationId
string
subscriptionDetails__preferencesGroupId
string
subscriptionDetails__subscriptionId
string
activeDomain
string
name
string
campaign
string
from__customReplyTo
string
from__fromName
string
from__replyTo
string
state
string
to__limitSendFrequency
boolean
to__suppressGraymail
boolean
to__contactIds__include
array
to__contactIds__exclude
array
to__contactLists__include
array
to__contactLists__exclude
array
subcategory
string
sendOnPublish
boolean

Action Response

data
object
successful
boolean
error

Creates a new variation of an existing email for a/b testing in hubspot’s email marketing tools. this endpoint allows marketers to generate alternative versions of an email to compare performance and optimize engagement. use this when you want to set up an a/b test for an email campaign, testing elements such as subject lines, content, or calls-to-action. the new variation is based on an existing email content and is assigned a unique name for easy identification. this tool is specifically for creating test variations and does not initiate the actual a/b test or send emails.

Action Parameters

variationName
stringRequired
contentId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the schema definition for an existing object in hubspot’s crm. this endpoint allows developers to fetch detailed information about the structure, properties, and associations of a specific crm object type. it’s particularly useful when working with custom objects or when you need to understand the data model of standard hubspot objects. use this endpoint when you need to inspect the fields, data types, and relationships of a crm object before performing operations on it. note that this endpoint only retrieves existing schemas and cannot be used to create or modify object schemas.

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

Publishes or sends a marketing email in hubspot. requires marketing hub enterprise account or transactional email add-on.

Action Parameters

email_id
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for partial updates to a hubspot ticket identified by its unique id. it enables you to modify specific properties of a ticket object without affecting the entire record, making it ideal for targeted updates to customer support issues. the endpoint accepts a json object containing only the properties you wish to update, ignoring read-only and non-existent fields. use this when you need to make selective changes to a ticket, such as updating its status, priority, or any custom fields. note that you can clear property values by passing an empty string, and the endpoint provides flexibility in identifying tickets through either their internal id or a custom unique property.

Action Parameters

ticketId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves detailed information about a specific crm object in hubspot by its unique identifier. it allows for flexible querying of various object types (such as contacts, companies, or deals) and provides granular control over the returned data. use this endpoint when you need to fetch comprehensive details about a single crm object, including its properties, historical changes, and associated entities. it’s particularly useful for displaying detailed views of crm records, tracking changes over time, or gathering related data across different object types in a single api call. the endpoint supports customization of the response through optional parameters, enabling efficient data retrieval tailored to specific needs.

Action Parameters

objectType
stringRequired
objectId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Update a batch of tickets.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates multiple line items in a single api call within the hubspot crm. this endpoint is designed for bulk operations, allowing efficient creation of numerous line items simultaneously. it’s particularly useful for scenarios such as importing large datasets, setting up initial inventory, or updating multiple products at once. the endpoint accepts a batch of line item data and returns the created objects or error information for any failed creations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Get a list of all versions of a marketing email, with each entry including the full state of that particular version. the current revision has the id -1.

Action Parameters

emailId
stringRequired
after
string
before
string
limit
integer

Action Response

data
object
successful
boolean
error

Updates existing calling extension settings for a specific app in hubspot’s crm system. this endpoint allows developers to modify various properties of a calling extension, such as its name, url, dimensions, and feature support flags. it should be used when changes to an existing calling extension configuration are needed, for example, to update the iframe url or adjust the display size. the endpoint requires the app id and a json object with the updated settings. it returns the modified settings upon successful update.

Action Parameters

appId
integerRequired
supportsCustomObjects
boolean
isReady
boolean
name
string
width
integer
url
string
height
integer

Action Response

data
object
successful
boolean
error

Read a page of emails. control what is returned via the properties query param.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

The batchupdateemails endpoint allows for updating multiple email records simultaneously in the hubspot crm. this powerful feature enables efficient bulk modifications of email properties, such as updating statuses, changing pipeline stages, or modifying custom fields for multiple emails in a single api call. it’s particularly useful for synchronizing data from external systems or performing mass updates based on certain criteria. the endpoint accepts an array of email objects, each identified by either their hubspot id or a custom unique property, along with the properties to be updated. while it streamlines bulk operations, users should be cautious when updating large numbers of records to avoid hitting api rate limits.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about all owners in the hubspot crm system. this endpoint allows you to fetch owner data using either their unique owner id or user id. it’s particularly useful when you need to access an multiple owners’ profile, such as their name, email etc. and use it in filtergroups.

Action Parameters

Action Response

data
object
successful
boolean
error

The results can be filtered, allowing you to find a specific set of emails. see the table below for a full list of filtering options.

Action Parameters

createdAt
string
createdAfter
string
createdBefore
string
updatedAt
string
updatedAfter
string
updatedBefore
string
sort
array
after
string
limit
integer
includeStats
boolean
type
string
isPublished
boolean
includedProperties
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint retrieves a paginated list of crm owners in hubspot. it allows you to fetch owner information with optional filtering by email address and archived status. the endpoint supports pagination for efficient data retrieval, making it ideal for applications that need to display or process owner data in manageable chunks. use this when you need to access owner information across your hubspot crm, such as for user management, reporting, or integration with other systems.

Action Parameters

email
string
after
string
limit
integerDefaults to 100
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint creates a batch of campaigns. the maximum number of items in a batch request is 50. the campaigns in the response are not guaranteed to be in the same order as they were provided in the request.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates a new company object in the hubspot crm with the provided properties. this endpoint allows you to add a new company to your crm database, including custom fields and properties specific to your hubspot account configuration. upon successful creation, it returns a copy of the newly created company object, including its unique id assigned by hubspot. use this endpoint when you need to programmatically add new companies to your crm, such as when integrating with other systems or automating company record creation. note that the specific properties available for a company may vary based on your hubspot account setup and any custom properties you’ve defined.

Action Parameters

associations
array
custom_properties
object
name
string
description
string
about_us
string
phone
string
domain
string
website
string
address
string
address2
string
city
string
state
string
zip
string
country
string
industry
string
annualrevenue
string
numberofemployees
string
founded_year
string
is_public
string
timezone
string
facebook_company_page
string
linkedin_company_page
string
twitterhandle
string
hubspot_owner_id
string
hs_score
string
hs_lead_status
string
lifecyclestage
string
parent_company
string
type
string
createdate
string
hs_lastmodifieddate
string
notes_last_updated
string

Action Response

data
object
successful
boolean
error

This endpoint lists all assets of the campaign by asset type. the assettype parameter is required, and each request can only fetch assets of a single type. asset metrics can also be fetched along with the assets; they are available only if start and end dates are provided.

Action Parameters

campaignGuid
stringRequired
assetType
stringRequired
after
string
limit
string
startDate
string
endDate
string

Action Response

data
object
successful
boolean
error

This endpoint reads a batch of campaigns based on the provided input data and returns the campaigns along with their associated assets. the maximum number of items in a batch request is 50. the campaigns in the response are not guaranteed to be in the same order as they were provided in the request. if duplicate campaign ids are provided in the request, duplicates will be ignored. the response will include only unique ids and will be returned without duplicates.

Action Parameters

startDate
string
endDate
string
properties
array
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific feedback submission object from hubspot’s crm system using its unique identifier. this endpoint allows for customized data retrieval, including specific properties, property history, and associated object ids. it’s particularly useful when you need detailed information about a single feedback submission, such as its content, sentiment, or related data. the tool provides flexibility in how the object is identified and what data is returned, making it valuable for various use cases from basic retrieval to complex data analysis.

Action Parameters

feedbackSubmissionId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Creates a new product object in the hubspot crm system with the specified properties. this endpoint is used to add new products to your e-commerce catalog within hubspot. it allows you to define various attributes of the product such as name, price, description, and any custom properties configured in your hubspot account. upon successful creation, the endpoint returns a copy of the created product object, including its unique id assigned by hubspot. this tool is particularly useful for integrating external e-commerce systems with hubspot or for programmatically managing your product catalog. note that this endpoint creates basic product entries and may not support complex product configurations or variants.

Action Parameters

associations
array
custom_properties
object
name
string
description
string
hs_sku
string
hs_product_id
string
price
number
hs_recurring_billing_period
string
hs_cost_of_goods_sold
number
hs_active
boolean
hs_archived
boolean
hs_featured
boolean
hs_product_type
string
hs_product_category
string
hs_product_subcategory
string
quantity
integer
tax_category
string
hs_url
string
hs_images
string
hs_valid_from
string
hs_valid_through
string
hs_product_status
string

Action Response

data
object
successful
boolean
error

Creates a new timeline event in hubspot’s crm based on a predefined event template. this endpoint allows you to add custom, immutable events to object timelines, providing a detailed record of interactions or activities. once created, the event cannot be modified. if the event template is configured with object property updates, this call will also attempt to update or add those properties to the associated object. use this endpoint to enrich your crm data with specific, structured events tied to contacts, companies, or deals.

Action Parameters

eventTemplateId
stringRequired
timelineIFrame__linkLabel
string
timelineIFrame__headerLabel
string
timelineIFrame__width
integer
timelineIFrame__url
string
timelineIFrame__height
integer
domain
string
tokens
objectRequired
id
string
utk
string
email
string
objectId
string
timestamp
string

Action Response

data
object
successful
boolean
error

Retrieves detailed error information for a specific import operation in hubspot’s crm. this endpoint allows users to fetch a paginated list of errors that occurred during the import process, helping to identify and troubleshoot issues with data imports. it should be used after an import operation to check for any problems that may have arisen during the import. the tool provides specific error details, enabling users to correct their data or import process for future attempts. it does not provide information about successful imports or allow for error correction directly through the api.

Action Parameters

after
string
limit
integer
importId
integerRequired

Action Response

data
object
successful
boolean
error

Creates a new workflow in hubspot using the v4 api. workflows automate your marketing, sales, and service processes based on specific enrollment triggers. the v4 api supports various action types including: - static branch actions - list branch actions - ab test branch actions - custom code actions - webhook actions - single connection actions requirements: - scopes: automation - standard api rate limits apply

Action Parameters

name
stringRequired
type
stringDefaults to CONTACT_FLOW
isEnabled
boolean
objectTypeId
stringDefaults to 0-1
flowType
stringDefaults to WORKFLOW
description
string
actions
array
customProperties
object
timeWindows
array
blockedDates
array
dataSources
array
canEnrollFromSalesforce
boolean
suppressionListIds
array
enrollmentCriteria
object
unEnrollmentSetting
object

Action Response

data
object
successful
boolean
error

Get the details for a marketing email.

Action Parameters

emailId
stringRequired
includeStats
boolean
includedProperties
array
archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple crm objects of a specified type in a single api call. it’s designed for bulk creation of objects like contacts, companies, deals, or tickets in the hubspot crm system. the endpoint is particularly useful when you need to import a large number of records or synchronize data from another system. it supports creating various object types, determined by the ‘objecttype’ path parameter. the request body should contain an array of objects to be created, following the batchinputsimplepublicobjectinputforcreate schema. the response will either indicate successful creation of all objects or provide details on any errors encountered during the batch creation process. this endpoint is ideal for operations requiring the creation of multiple crm records simultaneously, improving efficiency and reducing the number of api calls needed for bulk data operations.

Action Parameters

objectType
stringRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Configures the settings for a calling extension in hubspot’s crm. this endpoint allows you to customize the appearance and behavior of your calling extension by setting the menu label, target iframe url, and dimensions. use this when you need to create or update the configuration for your calling extension to integrate it seamlessly into the hubspot interface. it’s essential for tailoring the user experience of your calling extension within the hubspot crm environment.

Action Parameters

appId
integerRequired
supportsCustomObjects
boolean
isReady
boolean
name
stringRequired
width
integer
url
stringRequired
height
integer

Action Response

data
object
successful
boolean
error

This endpoint allows you to partially update an existing pipeline in hubspot’s crm system. it’s used to modify specific attributes of a pipeline without replacing the entire object. you can update various aspects of the pipeline, such as its stages, display order, or active status. this operation is useful when you need to make incremental changes to a pipeline without affecting its entire structure or unspecified fields. the endpoint returns the fully updated pipeline object, reflecting all changes made.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
validateReferencesBeforeDelete
boolean
validateDealStageUsagesBeforeDelete
boolean
archived
boolean
displayOrder
integer
label
string

Action Response

data
object
successful
boolean
error

This endpoint moves a specified crm property to the recycling bin in hubspot. it allows users to archive properties that are no longer needed or relevant, without permanently deleting them. the endpoint should be used when you want to remove a property from active use in your crm objects, such as contacts, companies, or deals. it’s important to note that this action doesn’t permanently delete the property, but rather moves it to a recyclable state. use this endpoint with caution, as archiving a property may affect existing records and integrations that rely on that property.

Action Parameters

objectType
stringRequired
propertyName
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple products in the hubspot crm simultaneously using a single api call. it’s designed for efficient bulk product creation, particularly useful for e-commerce applications that need to add or update large numbers of products. the endpoint accepts a batch of product data and processes them together, returning individual results for each product in the batch. use this when you need to create multiple products at once to optimize api usage and streamline your product management workflow.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates multiple contact records in hubspot’s crm system in a single api call. this endpoint is designed for efficient bulk creation of contacts, making it ideal for data imports, migrations, or synchronization between systems. it allows you to create up to 100 contacts simultaneously, significantly reducing the number of api calls required for large-scale contact creation. the endpoint returns detailed information about the success or failure of each contact creation attempt, enabling easy tracking and error handling for batch operations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Returns metadata for a specific workflow, including the starting conditions and workflow steps. workflow ids can be found by using the get all workflows endpoint. note: when using this api, only certain actions are supported. if unsupported actions are included, the action type returned will be unsupported action.

Action Parameters

workflow_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of quotes from the hubspot crm. this endpoint allows you to fetch quote data with customizable property selection, making it ideal for applications that need to display or process quote information. use this when you need to list multiple quotes, such as in a dashboard or report. the endpoint supports pagination, property filtering, and association retrieval, enabling efficient data fetching for large datasets. it’s particularly useful for integrations that need to sync quote data or for building custom quote management interfaces.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Archives a specific quote object in hubspot’s crm by moving it to the recycling bin. this endpoint is used to remove a quote from active use while preserving its data for potential future reference. it’s particularly useful for managing outdated or rejected quotes, helping to keep the active quote list clean and organized. the operation is irreversible through this api, so it should be used with caution when permanent removal of a quote from active status is desired.

Action Parameters

quoteId
stringRequired

Action Response

data
object
successful
boolean
error

Updates a specific stage within a hubspot crm pipeline. this endpoint allows for partial modifications to an existing pipeline stage, preserving any unspecified properties. it’s useful for adjusting stage details without overwriting the entire stage configuration. the updated stage information is returned in the response, providing immediate confirmation of the changes. use this when you need to modify stage properties such as its name, display order, or probability within a specific pipeline.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
stageId
stringRequired
archived
boolean
metadata
objectRequired
displayOrder
integer
label
string

Action Response

data
object
successful
boolean
error

Replaces all properties of an existing pipeline in hubspot’s crm system with the provided values. this operation overwrites any existing pipeline stages and returns the updated pipeline in the response. it allows for complete customization of pipeline properties and stages for different crm object types such as deals, tickets, or contacts. use this endpoint when you need to perform a full update of a pipeline’s structure and properties, rather than making incremental changes.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
validateReferencesBeforeDelete
boolean
validateDealStageUsagesBeforeDelete
boolean
displayOrder
integerRequired
stages
arrayRequired
label
stringRequired

Action Response

data
object
successful
boolean
error

Partially updates a specific crm property in hubspot, identified by the object type and property name. this endpoint allows you to modify existing properties for various crm objects like contacts, companies, deals, or custom objects. use this when you need to change certain attributes of a property without affecting the entire property configuration. the update is performed by overwriting only the provided fields, leaving others unchanged.

Action Parameters

objectType
stringRequired
propertyName
stringRequired
description
string
groupName
string
hidden
boolean
options
array
displayOrder
integer
calculationFormula
string
label
string
type
string
fieldType
string
formField
boolean

Action Response

data
object
successful
boolean
error

Retrieves all existing properties for a specified object type in the hubspot crm. this endpoint is crucial for understanding the structure and available fields for different crm objects such as contacts, companies, deals, or custom objects. use this tool when you need to get a comprehensive list of properties, including both default and custom properties, for a particular object type. it’s especially useful when setting up integrations, creating custom views, or preparing data imports. note that this endpoint does not return the actual values of these properties for specific records, only their definitions and metadata.(DEPRECATED use read_all_properties_for_object_type)

Action Parameters

objectType
stringRequired
archived
boolean
properties
string

Action Response

data
object
successful
boolean
error

Fully delete a workflow by id. warning: deleted workflows cannot be restored via the api. if you need to restore an accidentally deleted flow, you’ll need to contact support.

Action Parameters

workflow_id
stringRequired

Action Response

data
object
successful
boolean
error

Searches for products in the hubspot crm based on specified criteria. this endpoint allows you to find products that match certain conditions, enabling efficient product management and retrieval. use this when you need to locate specific products or groups of products within your hubspot crm. the search is performed using a flexible criteria system, allowing for complex queries. the results are paginated, making it suitable for handling large product catalogs. note that this endpoint has a rate limit exemption, allowing for more frequent use compared to other endpoints.(DEPRECATED use search_products_by_criteria)

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

Archives a batch of tickets in the hubspot crm by their ids. this endpoint allows for efficient bulk archiving of multiple tickets in a single api call. it should be used when you need to remove tickets from active status, making them inaccessible for further updates or interactions. this operation is particularly useful for data cleanup, removing old or resolved tickets, or managing large volumes of ticket data. the endpoint processes the provided ticket ids in bulk, improving performance for large-scale archiving operations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint updates a batch of campaigns based on the provided input data. the maximum number of items in a batch request is 50. if an empty string ("") is passed for any property in the batch update, it will reset that property’s value.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple feedback submissions in a single api call within hubspot’s crm system. it’s designed for bulk creation of feedback data, which is useful for importing large datasets or synchronizing feedback information from external systems. the endpoint accepts a batch of feedback submission objects and processes them together, returning either a successful batch response or a response with potential errors for each submission. use this endpoint when you need to efficiently create multiple feedback entries simultaneously, reducing the number of individual api calls and improving performance for large-scale data operations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates a new crm object in hubspot with specified properties and returns a copy of the created object, including its unique id. this endpoint is versatile and can be used to create various standard crm objects (such as contacts, companies, deals) as well as custom objects. it’s ideal for adding new records to your hubspot crm programmatically, allowing for seamless integration with external systems or automated workflows. the endpoint requires specifying the object type and providing the necessary properties for the object being created.

Action Parameters

objectType
stringRequired
associations
arrayRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Updates multiple feedback submissions in the hubspot crm system simultaneously. this endpoint allows for efficient bulk modifications of feedback data, streamlining the process of managing customer feedback at scale. it’s particularly useful for updating large sets of feedback submissions or synchronizing data from external systems. the endpoint accepts a batch of feedback submission updates and processes them in a single request, reducing api calls and improving performance for large-scale operations.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates a new line item object in the hubspot crm with the provided properties. this endpoint is used to add individual products or services to deals, quotes, or orders. it returns a copy of the created object, including its unique id. use this when you need to add new items to a customer’s order or deal in the hubspot system.

Action Parameters

associations
arrayRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Delete a specified campaign from the system. this call will return a 204 no content response regardless of whether the campaignguid provided corresponds to an existing campaign or not.

Action Parameters

campaignGuid
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific company object from hubspot’s crm by its internal id or a unique property value. this endpoint allows you to fetch detailed information about a company, including selected properties, property history, and associated object ids. use this when you need to access comprehensive data about a particular company in your hubspot crm. the tool provides flexibility in specifying which properties to return and can include archived companies if needed. it’s particularly useful for gathering up-to-date company information for crm synchronization, reporting, or displaying detailed company profiles in your application.

Action Parameters

companyId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific owner in the hubspot crm system. this endpoint allows you to fetch owner data using either their unique owner id or user id. it’s particularly useful when you need to access an owner’s profile, such as their name, email, or other associated details. the endpoint can retrieve both active and archived owners, making it versatile for various use cases including user management, audit trails, or data synchronization between systems. note that this endpoint focuses on individual owner retrieval and does not support bulk operations or modifications to owner data.

Action Parameters

ownerId
integerRequired
idProperty
stringDefaults to id
archived
boolean

Action Response

data
object
successful
boolean
error

Retrieves all object schemas that have been defined for your hubspot account. this endpoint is essential for developers working with custom objects and integrating with hubspot’s crm. it returns a comprehensive list of schema definitions, including both standard and custom objects, providing crucial information about the structure and properties of each object type in your account. use this endpoint when you need to understand the data model of your hubspot instance, plan integrations, or work with custom objects. it’s particularly useful for applications that need to dynamically adapt to changes in your hubspot data structure. note that this endpoint does not provide the actual data of the objects, only their schema definitions.

Action Parameters

archived
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to merge two products of the same type in the hubspot crm system. it combines the information from two separate product entries into a single, unified product entry. this is useful for consolidating duplicate product records, combining variants of a product, or updating product information across your e-commerce catalog. the merge operation is performed by sending a post request with the necessary merge details in the request body. upon successful execution, the api returns the merged product object. it’s important to note that this operation is irreversible, so care should be taken to ensure the correct products are being merged. this endpoint should only be used when you are certain that two products need to be combined and you have the necessary permissions to modify product data in your hubspot account.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves and renders the detailed information for a specific event using its associated event template. this endpoint takes an event template id and an event id to generate a formatted representation of the event details. it’s particularly useful when you need to display comprehensive, structured information about a single event in the hubspot crm timeline. the endpoint ignores any extradata references in the template that are not present in the actual event data, ensuring a consistent output even with incomplete data. use this when you need to present event details in a user-friendly, formatted manner, especially in interfaces or reports that require a standardized event detail view.

Action Parameters

eventTemplateId
stringRequired
eventId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a complete summary of a specific import record in the hubspot crm system, including any updates made to the record. this endpoint is useful for tracking the status and details of data imports, allowing users to monitor the progress and results of their import operations. it should be used when you need to check the current state of an import, verify its completion, or troubleshoot any issues that may have occurred during the import process. the endpoint provides comprehensive information about the import record but does not allow modifications to the import itself.

Action Parameters

importId
integerRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to create multiple quotes simultaneously in the hubspot crm system. it’s designed for efficiency when you need to add a large number of quotes at once, such as during data migration or when processing bulk quote requests. the endpoint accepts a batch of quote objects and attempts to create all of them, returning detailed results for each quote in the batch. use this when you have multiple quotes to create and want to optimize api usage by reducing the number of individual calls. note that partial success is possible, so it’s important to check the response for any errors on specific quotes within the batch.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of deals from the hubspot crm system. this endpoint allows for customizable data retrieval by specifying which properties and associations to include in the response. it supports efficient handling of large datasets through cursor-based pagination. use this endpoint when you need to fetch deal information in bulk, such as for reporting, data synchronization, or displaying deal lists in your application. the endpoint provides flexibility in filtering archived deals and retrieving historical property values, making it suitable for various crm data management tasks.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Restores a previous revision of a marketing email to draft state. if there is currently something in the draft for that object, it is overwritten.

Action Parameters

emailId
stringRequired
revisionId
integerRequired

Action Response

data
object
successful
boolean
error

Fetch the list of contact ids for the specified campaign and contact type

Action Parameters

campaignGuid
stringRequired
contactType
stringRequired
startDate
string
endDate
string
limit
integer
after
string

Action Response

data
object
successful
boolean
error

This endpoint allows you to merge two existing feedback submissions in hubspot’s crm system. it combines the data from two separate feedback submissions into a single record, which can be useful for consolidating duplicate entries or combining related feedback from the same customer. the merged result will contain information from both original submissions, with one submission typically taking precedence for overlapping fields. use this endpoint when you need to clean up your feedback data or combine information from multiple submissions. note that this operation is irreversible, so it’s important to ensure you want to permanently combine the selected feedback submissions before making the api call. the endpoint returns the merged feedback submission object upon successful completion.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new property group for a specified crm object type in hubspot. this endpoint allows you to organize related properties into logical groups, improving the structure and management of custom properties within your crm. use this when you need to create a new category or section for properties in your hubspot crm, such as grouping all properties related to a specific business process or customer attribute. the newly created property group can then be used to organize existing or new properties for the specified object type (e.g., contacts, companies, deals). note that this endpoint creates an empty group; you’ll need to use separate api calls to add properties to this group after creation.

Action Parameters

objectType
stringRequired
name
stringRequired
displayOrder
integer
label
stringRequired

Action Response

data
object
successful
boolean
error

Update a batch of tickets.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a reverse chronological list of all mutations (changes) that have occurred on a specific pipeline in hubspot’s crm. this endpoint is used to audit and track modifications made to a pipeline, providing transparency and accountability in pipeline management. it’s particularly useful for monitoring changes in sales processes, workflow modifications, or any other pipeline-related activities. the function returns detailed information about each change, allowing users to review the pipeline’s evolution over time.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to remove a specific deal object from the hubspot crm by moving it to the recycling bin. it’s used when you need to delete a deal that is no longer relevant or was created in error. the operation is permanent and should be used with caution. once a deal is moved to the recycling bin, it will no longer appear in active deal lists or reports. this endpoint is particularly useful for maintaining a clean and accurate sales pipeline in your crm.

Action Parameters

dealId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes a contact and all associated content from the hubspot crm system to comply with gdpr regulations. it allows for the identification of contacts by email address and includes a feature to blocklist email addresses that are not found to prevent future use. this tool should be used when a data subject exercises their ‘right to be forgotten’ under gdpr. it’s important to note that this action is irreversible and should be used with caution. the endpoint requires proper authentication and the ‘crm.objects.contacts.write’ scope for access.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new company object in the hubspot crm with the provided properties. this endpoint allows you to add a new company to your crm database, including custom fields and properties specific to your hubspot account configuration. upon successful creation, it returns a copy of the newly created company object, including its unique id assigned by hubspot. use this endpoint when you need to programmatically add new companies to your crm, such as when integrating with other systems or automating company record creation. note that the specific properties available for a company may vary based on your hubspot account setup and any custom properties you’ve defined.(DEPRECATED use create_company_object)

Action Parameters

associations
array
custom_properties
object
name
string
description
string
about_us
string
phone
string
domain
string
website
string
address
string
address2
string
city
string
state
string
zip
string
country
string
industry
string
annualrevenue
string
numberofemployees
string
founded_year
string
is_public
string
timezone
string
facebook_company_page
string
linkedin_company_page
string
twitterhandle
string
hubspot_owner_id
string
hs_score
string
hs_lead_status
string
lifecyclestage
string
parent_company
string
type
string
createdate
string
hs_lastmodifieddate
string
notes_last_updated
string

Action Response

data
object
successful
boolean
error

Retrieves a reverse chronological list of all mutations (changes) that have occurred on a specific pipeline stage in hubspot’s crm. this endpoint is used to track the historical changes made to a pipeline stage, providing valuable insights into how the stage has evolved over time. it’s particularly useful for auditing purposes, troubleshooting unexpected changes, and maintaining a comprehensive record of pipeline modifications. the endpoint requires specifying both the object type (e.g., deals, tickets) and the unique identifier of the stage, allowing for precise querying of audit information across different crm objects and pipeline stages.

Action Parameters

objectType
stringRequired
stageId
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new deal object in the hubspot crm with the provided properties. this endpoint allows you to add a new potential or closed sale to your crm, tracking important information such as deal value, stage, and associated contacts or companies. use this when you need to programmatically create deals based on user actions, integrations with other systems, or bulk imports. the endpoint returns a copy of the created deal object, including its unique id assigned by hubspot. note that while you can create a basic deal with minimal information, it’s often beneficial to include as much relevant data as possible for accurate reporting and sales forecasting.

Action Parameters

associations
array
custom_properties
object
amount
string
amount_in_home_currency
string
closed_lost_reason
string
closed_won_reason
string
closedate
string
createdate
string
days_to_close
string
deal_currency_code
string
dealname
string
dealstage
string
dealtype
string
description
string
engagements_last_meeting_booked
string
engagements_last_meeting_booked_campaign
string
engagements_last_meeting_booked_medium
string
engagements_last_meeting_booked_source
string
hs_acv
string
hs_all_accessible_team_ids
string
hs_all_assigned_business_unit_ids
string
hs_all_owner_ids
string
hs_all_team_ids
string
hs_analytics_source
string
hs_arr
string
hs_campaign
string
hs_closed_amount
string
hs_closed_amount_in_home_currency
string
hs_createdate
string
hs_deal_stage_probability
string
hs_forecast_amount
string
hs_forecast_probability
string
hs_is_closed
string
hs_lastmodifieddate
string
hs_mrr
string
hs_next_step
string
hs_object_id
string
hs_priority
string
hs_projected_amount
string
hs_projected_amount_in_home_currency
string
hs_tcv
string
hubspot_owner_id
string
pipeline
string

Action Response

data
object
successful
boolean
error

This endpoint allows you to completely replace all properties of an existing pipeline stage in hubspot’s crm. it’s used to update stage details such as the label, display order, or any custom properties within a specific pipeline for various crm object types (deals, tickets, contacts, or companies). the operation requires the object type, pipeline id, and stage id to target the correct stage, along with a request body containing the new stage properties. use this endpoint when you need to make comprehensive changes to a stage’s configuration. it returns the updated stage object, reflecting all changes made.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
stageId
stringRequired
metadata
objectRequired
displayOrder
integerRequired
label
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new pipeline for a specified object type in hubspot’s crm. this endpoint allows you to define custom stages and workflows for different crm objects such as deals, tickets, or custom objects. use this when you need to establish a new process flow or sales methodology within your hubspot crm. the created pipeline will be immediately available for use and will return the complete pipeline object, including its unique identifier, in the response. note that this operation requires appropriate authentication and permissions based on the object type you’re working with.

Action Parameters

objectType
stringRequired
displayOrder
integerRequired
stages
arrayRequired
label
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint archives a batch of quotes in the hubspot crm by their ids. it allows for efficient bulk archiving of multiple quotes in a single api call, which is useful for removing outdated or irrelevant quotes from active use. the operation is irreversible, so use it cautiously. this endpoint should be used when you need to archive multiple quotes simultaneously, such as during a cleanup process or when closing multiple deals. it will not delete the quotes but move them to an archived state, making them inaccessible through normal quote retrieval methods.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Get the draft version of an email (if it exists). if no draft version exists, the published email is returned.

Action Parameters

emailId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific timeline event from hubspot’s crm using the event template id and event id. this endpoint allows you to access all existing information for a previously created event, providing detailed insights into customer interactions and activities recorded in the crm timeline. it’s particularly useful when you need to review or analyze a specific event’s details within your crm workflows or integrations. note that while this endpoint returns comprehensive event information, it may not include the entire associated crm object data.

Action Parameters

eventTemplateId
stringRequired
eventId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a specific property group in hubspot’s crm by moving it to the recycling bin. this operation allows users to remove obsolete or unnecessary property groups from active use without permanently deleting them. it should be used when reorganizing crm properties or during cleanup processes. once archived, the property group will no longer be available for use in crm operations, but can potentially be restored if needed. exercise caution when using this endpoint, as it immediately impacts the availability of the property group across the crm system.

Action Parameters

objectType
stringRequired
groupName
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific hubspot crm contact using their internal object id. this endpoint allows for customized data retrieval, enabling developers to specify which properties to return, include property history, fetch associated object ids, and filter for archived contacts. it’s ideal for situations where you need to access comprehensive contact information or integrate contact data into external systems. the endpoint is particularly useful for building custom crm dashboards, generating detailed contact reports, or syncing contact data with other applications.(DEPRECATED use read_crm_contact_by_id)

Action Parameters

contactId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Permanently deletes a contact and all associated content from hubspot to comply with gdpr regulations. this endpoint should be used when a user requests complete removal of their data under gdpr. it offers the option to identify contacts by email address and includes a feature to blocklist email addresses for future use. this operation is irreversible and should be used with caution, as it permanently removes all data associated with the contact.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint enables batch reading of crm objects in hubspot by their ids or property values. it supports retrieving multiple objects of a specified type (e.g., contacts, companies, deals) in a single api call, improving efficiency for bulk data retrieval operations. the endpoint allows filtering for archived objects and requires a request body specifying the objects to be fetched. it’s particularly useful for synchronizing large datasets or performing bulk operations on crm data.

Action Parameters

objectType
stringRequired
archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Merges two tickets of the same type in hubspot’s crm system. this endpoint allows you to combine duplicate or related support issues into a single ticket, streamlining your customer support workflow. use this when you need to consolidate information from two separate tickets into one comprehensive record. the merged ticket will contain data from both original tickets, but only one will remain active in the system.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to permanently delete a specific pipeline stage within a hubspot crm pipeline. it removes the stage identified by the provided stageid from the pipeline specified by pipelineid for the given objecttype. use this endpoint when you need to remove an obsolete or unnecessary stage from your crm workflow. be cautious when using this operation, as it permanently removes the stage and cannot be undone. ensure that no active deals or records are associated with the stage before deletion to prevent data inconsistencies.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
stageId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to add a new token to an existing event template in hubspot’s crm timeline. tokens are used to attach custom data to events, enabling enhanced timeline displays and list segmentation. you can also associate crm object properties using the ‘objectpropertyname’ field. this endpoint is useful for customizing event templates with additional data points or for building out complete crm objects. ensure that the token name is unique within the template to avoid conflicts.

Action Parameters

eventTemplateId
stringRequired
appId
integerRequired
createdAt
string
options
array
name
stringRequired
label
stringRequired
objectPropertyName
string
type
stringRequired
updatedAt
string

Action Response

data
object
successful
boolean
error

Get a specific revision of a marketing email.

Action Parameters

emailId
stringRequired
revisionId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a specific feedback submission in hubspot’s crm by moving it to the recycling bin. this endpoint is used when you need to remove a feedback submission from active use without permanently deleting it. it’s particularly useful for maintaining data integrity while clearing out outdated or irrelevant feedback. note that this action is reversible, as the submission can be restored from the recycling bin if needed. however, archived submissions will not appear in standard feedback reports or searches.

Action Parameters

feedbackSubmissionId
stringRequired

Action Response

data
object
successful
boolean
error

The batcharchiveemails endpoint allows you to archive multiple emails in hubspot’s crm system with a single api call. this endpoint is particularly useful for bulk email management, enabling efficient organization of email records within the crm. it should be used when you need to archive a large number of emails simultaneously, which can help in maintaining a clean and organized email database. the endpoint accepts a list of email ids and processes them in batch, which is more efficient than making individual archive requests for each email. however, be aware that this operation is irreversible, so ensure that you truly want to archive the specified emails before making the call.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for batch updating of multiple crm objects of a specified type in hubspot. it enables efficient bulk modifications of records such as contacts, companies, or deals. the endpoint can update objects either by their internal ids or by matching property values. use this when you need to update multiple records simultaneously, which is more efficient than making individual api calls for each object. note that the success of updates can be partial, with some objects updated successfully while others may fail.

Action Parameters

objectType
stringRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Creates a new quote object in hubspot’s crm system with the provided properties. this endpoint allows you to programmatically generate quotes, which can be associated with deals, contacts, or companies in your hubspot account. it’s useful for automating quote creation in sales processes or integrating quote generation with external systems. the endpoint returns a copy of the created quote object, including its newly assigned id, which can be used for further operations or reference. while this endpoint creates standard quotes, be aware that complex or highly customized quote structures may require additional setup in your hubspot account.

Action Parameters

associations
arrayRequired
properties
objectRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific event template for a given app in hubspot’s crm timeline feature. this endpoint allows developers to view the current state of an event template, including its configuration and associated tokens. it’s particularly useful when you need to inspect or verify the structure of an existing template before creating or updating timeline events. the endpoint returns comprehensive data about the template, including its name, header and detail templates, and any custom tokens defined for the template.

Action Parameters

eventTemplateId
stringRequired
appId
integerRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific product in the hubspot crm system. this endpoint allows you to fetch a product by its unique identifier, which can be either the internal object id or a custom unique property value. it provides flexibility in specifying which properties to return, including historical values, and can fetch associated object ids. use this endpoint when you need to access comprehensive product data, including custom properties and associations with other crm objects. it’s particularly useful for e-commerce applications that need to sync product information with hubspot or display detailed product data within an integrated system.(DEPRECATED use read_product_by_id)

Action Parameters

productId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Updates an existing token on a hubspot crm event template. this endpoint allows you to modify token properties such as label and options, but does not permit changes to the token’s name or type. use this when you need to refine or adjust the details of a token within an event template, such as updating labels or modifying enumeration options. this operation is crucial for maintaining and evolving your custom event templates in the hubspot crm timeline without creating new tokens or altering the fundamental structure of existing ones.

Action Parameters

eventTemplateId
stringRequired
tokenName
stringRequired
appId
integerRequired
options
array
label
stringRequired
objectPropertyName
string

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes a contact and all associated content from hubspot’s crm system to comply with gdpr regulations. it’s designed for use when a data subject exercises their right to be forgotten under gdpr. the endpoint can identify contacts by their email address if the optional ‘idproperty’ is set to ‘email’. if the specified email address is not found, it will be added to a blocklist to prevent future use, enhancing data protection. this tool should be used with caution as the deletion is permanent and irreversible. it’s crucial to verify the necessity and legality of the deletion before using this endpoint, as it will remove all traces of the contact from the crm.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to delete a specific pipeline in the hubspot crm system. it removes the entire pipeline structure, including all its stages, from the specified object type (e.g., deals, contacts, companies). use this endpoint when you need to remove an outdated or unnecessary pipeline from your crm workflow. be cautious when using this operation, as it permanently deletes the pipeline and cannot be undone. the endpoint provides optional validation parameters to help prevent unintended data loss or disruptions to active records.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
validateReferencesBeforeDelete
boolean
validateDealStageUsagesBeforeDelete
boolean

Action Response

data
object
successful
boolean
error

This endpoint permanently deletes line items and all associated content to comply with gdpr regulations. it’s designed for situations where a complete erasure of customer data is required, such as when a customer exercises their “right to be forgotten”. the deletion is irreversible, ensuring that all traces of the specified line items are removed from the system. additionally, it offers the option to identify contacts by email address, adding unmatched emails to a blocklist to prevent future use. use this endpoint with caution, as it permanently removes data and cannot be undone.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to retrieve multiple feedback submissions in a single request, enabling efficient data retrieval for large datasets. it supports fetching up to 100 feedback submissions by their ids or specific properties. use this endpoint when you need to bulk retrieve feedback data, such as survey responses, ratings, or comments, along with associated contact information. the endpoint is particularly useful for analyzing feedback trends or updating your crm with the latest customer insights.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves detailed information about a specific deal in hubspot’s crm system using its unique identifier. it allows for customizable data retrieval, including specific properties, historical values, and associated objects. use this endpoint when you need comprehensive information about a particular deal, such as its current status, property values, or related entities. the tool is particularly useful for getting up-to-date deal information for sales analysis, customer relationship management, or integration with other systems. note that while it offers extensive customization options, it only returns data for a single deal at a time.

Action Parameters

dealId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

Deletes a custom schema in hubspot’s crm by its object type. this endpoint should be used when you need to remove a custom object schema from your hubspot account. it’s crucial to note that all existing records of this schema must be deleted before calling this endpoint; otherwise, the operation will fail. this is a permanent action and cannot be undone, so use it with caution. the endpoint is particularly useful when restructuring your crm or removing obsolete custom object types.

Action Parameters

objectType
stringRequired
archived
boolean

Action Response

data
object
successful
boolean
error

Retrieves all existing property groups for a specified crm object type in your hubspot account. this endpoint is useful for understanding how properties are organized within your crm, which can aid in data management and reporting. it should be used when you need an overview of the property structure for a particular object type, such as contacts or companies. the endpoint returns a collection of property groups without pagination, providing a complete list in a single request. note that this endpoint only returns the groups themselves, not the individual properties within each group.

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new event template for a hubspot app, defining the structure for custom timeline events in the crm. this endpoint allows developers to set up templates for events like video views, webinar registrations, or survey completions. the created template can be used for contacts, companies, tickets, or deals, and includes formatted content and custom property definitions. use this endpoint when setting up new types of timeline events for your hubspot integration. note that you must create an event template before you can create actual events in the crm timeline.

Action Parameters

appId
integerRequired
detailTemplate
string
name
stringRequired
tokens
arrayRequired
headerTemplate
string
objectType
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for batch updating of multiple quotes in the hubspot crm system. it enables efficient modification of quote data by processing multiple updates in a single api call. this endpoint is particularly useful when you need to update a large number of quotes simultaneously, such as adjusting prices, updating expiration dates, or modifying custom fields across multiple quotes. the batch update functionality can significantly reduce the number of api calls required for bulk quote modifications, potentially improving performance and reducing api usage. however, be cautious when using this endpoint, as it can make widespread changes to your crm data in a single operation.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to update multiple company records in the hubspot crm simultaneously. it’s designed for bulk operations when you need to modify information for several companies at once, improving efficiency and reducing api calls. the endpoint accepts a batch of company updates in the request body and processes them together. it’s particularly useful for synchronizing company data from external systems or performing mass updates based on certain criteria. the endpoint returns detailed results for each company update, including success status and any errors encountered during the process. use this endpoint when you need to update multiple companies efficiently, but be mindful of potential rate limits and the complexity of handling partial successes in large batches.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint enables batch retrieval of multiple company records from the hubspot crm by their properties. it’s designed for efficiently fetching data for multiple companies in a single api call, reducing the number of requests needed when working with large datasets. the endpoint allows filtering for archived companies and specifies which properties to retrieve for each company. it’s ideal for bulk data synchronization, reporting, or any scenario where information on multiple companies is needed simultaneously. the response provides detailed company data or error information if any companies couldn’t be retrieved.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves the calling extension settings configured for a specific app in hubspot’s crm system. this endpoint allows developers to access important configuration details such as the app’s name, iframe url, dimensions, readiness status, and support for custom objects. use this endpoint when you need to verify or display the current calling settings for your app within hubspot. it’s particularly useful for troubleshooting, auditing configurations, or retrieving settings before making updates. the endpoint returns a comprehensive set of settings but does not allow for modifying these settings directly.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Retrieves a paginated list of feedback submissions from hubspot surveys. this endpoint allows you to fetch feedback data with customizable property selection, association retrieval, and filtering options. use this when you need to analyze customer feedback, track survey responses, or integrate feedback data into your applications. the endpoint supports pagination for handling large datasets and provides options to retrieve both current and historical property values.

Action Parameters

limit
integerDefaults to 10
after
string
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Archives a product in the hubspot crm by moving it to the recycling bin. this endpoint is used to remove a product from active use without permanently deleting it. it’s ideal for managing product catalogs in e-commerce applications integrated with hubspot. the operation is irreversible through the api, but archived products can be restored manually through the hubspot interface if needed. use this endpoint when a product is no longer available or relevant, but you want to retain its historical data.

Action Parameters

productId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint creates a new association between object types in hubspot’s crm system. it allows you to define relationships between different entities, such as linking contacts to companies or deals to products. the association is created for the primary object type specified in the path parameter and can be linked to one or more other object types. this tool is essential for structuring and organizing data within the crm, enabling more complex data relationships and improved data management. use it when you need to establish new connections between different types of data in your hubspot crm. note that this endpoint requires specific permissions and should be used carefully as it affects the overall structure of your crm data.

Action Parameters

objectType
stringRequired
fromObjectTypeId
stringRequired
name
string
toObjectTypeId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all existing property groups for a specified crm object type in your hubspot account. this endpoint is useful for understanding how properties are organized within your crm, which can aid in data management and reporting. it should be used when you need an overview of the property structure for a particular object type, such as contacts or companies. the endpoint returns a collection of property groups without pagination, providing a complete list in a single request. note that this endpoint only returns the groups themselves, not the individual properties within each group.(DEPRECATED use read_property_groups_for_object_type)

Action Parameters

objectType
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to perform a partial update on a line item object in hubspot’s crm system. it’s used to modify specific properties of an existing line item without affecting other properties. the endpoint is ideal for making targeted changes to line items, such as updating prices, quantities, or other attributes. it supports flexible object identification through either the internal object id or a custom unique property. the update operation will overwrite provided property values, ignore read-only and non-existent properties, and allows clearing of property values by passing an empty string. this tool is essential for maintaining accurate and up-to-date line item information in the crm, especially when dealing with changes in orders or deals.

Action Parameters

lineItemId
stringRequired
idProperty
string
properties
objectRequired

Action Response

data
object
successful
boolean
error

Removes an existing association from a schema in hubspot’s crm. this endpoint allows you to modify the structure of your custom objects by deleting specific relationships between objects. use this when you need to update your crm’s data model by removing outdated or unnecessary associations. it’s particularly useful when restructuring your crm to reflect changes in your business processes or data requirements. the operation is irreversible, so use it with caution to avoid unintended data relationship loss.

Action Parameters

objectType
stringRequired
associationIdentifier
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all stages associated with a specific pipeline in hubspot’s crm. this endpoint allows users to fetch the complete structure of a pipeline, including all its stages, for a given object type (such as deals, contacts, or companies). it’s essential for understanding the progression of items through a sales or business process. use this endpoint when you need to analyze or display the full pipeline structure, or when implementing logic that depends on stage progression.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a contact in the hubspot crm by moving it to the recycling bin. this endpoint should be used when you need to remove a contact from active use in your crm. the operation is irreversible through the api, so use it with caution. once archived, the contact will no longer appear in standard contact lists or searches. this endpoint is useful for data cleanup or when a contact is no longer relevant to your business operations.

Action Parameters

contactId
stringRequired

Action Response

data
object
successful
boolean
error

Archives a contact in the hubspot crm by moving it to the recycling bin. this endpoint should be used when you need to remove a contact from active use in your crm. the operation is irreversible through the api, so use it with caution. once archived, the contact will no longer appear in standard contact lists or searches. this endpoint is useful for data cleanup or when a contact is no longer relevant to your business operations.(DEPRECATED use archive_contact_by_id)

Action Parameters

contactId
stringRequired

Action Response

data
object
successful
boolean
error

Archives multiple products in hubspot’s crm system by their ids in a single batch operation. this endpoint is used to remove products from active use without permanently deleting them, making them inaccessible in standard views and searches. it’s particularly useful for bulk cleanup of outdated or discontinued products in e-commerce integrations. the operation is irreversible through the api, so use it cautiously. note that this endpoint does not return the archived products; it only confirms the action with a 204 no content response upon success.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint renders either the headertemplate or detailtemplate from a specified event template as html for a given event in hubspot’s crm timeline. it processes the template using handlebars and markdown, incorporating event data to generate the final html output. the endpoint is useful for displaying event information in a formatted and visually appealing manner within your application or integration. it’s particularly valuable when you need to present event details in a consistent, templated format across different events. note that if the template references extradata that isn’t found in the event, those references will be ignored during rendering.

Action Parameters

eventTemplateId
stringRequired
eventId
stringRequired
detail
boolean

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for crm objects in hubspot based on specific criteria. it provides a flexible way to retrieve records across different object types such as contacts, companies, deals, and tickets. the search functionality enables you to filter and find exact matches or apply more complex search logic to locate the desired crm objects. this endpoint is particularly useful when you need to find specific records that meet certain conditions or when you want to perform advanced queries on your crm data. it should be used when you need to retrieve a collection of objects that match your search criteria, rather than fetching all objects or looking up a single object by id.

Action Parameters

objectType
stringRequired
query
string
limit
integerRequired
after
stringRequired
sorts
arrayRequired
properties
arrayRequired
filterGroups
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint retrieves a comprehensive list of all event templates associated with a specific app in hubspot’s crm timeline. it allows developers to access detailed information about each template, including their structure, associated object types, and custom tokens. use this endpoint when you need to review, audit, or manage the event templates created for your hubspot app. it’s particularly useful for understanding the current configuration of your app’s timeline events or preparing for updates to existing templates. the endpoint returns a collection of template objects, providing a complete overview of how timeline events are structured for the specified app.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific pipeline object from the hubspot crm system using its unique identifier. this endpoint allows you to fetch detailed information about a single pipeline, including its stages and properties, for a particular crm object type such as deals or tickets. use this when you need to access or review the configuration of a specific pipeline within your hubspot account. the endpoint is particularly useful for understanding the structure of your sales or support processes as defined in hubspot.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific product in the hubspot crm system. this endpoint allows you to fetch a product by its unique identifier, which can be either the internal object id or a custom unique property value. it provides flexibility in specifying which properties to return, including historical values, and can fetch associated object ids. use this endpoint when you need to access comprehensive product data, including custom properties and associations with other crm objects. it’s particularly useful for e-commerce applications that need to sync product information with hubspot or display detailed product data within an integrated system.

Action Parameters

productId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean
idProperty
string

Action Response

data
object
successful
boolean
error

This endpoint allows you to archive multiple line items in the hubspot crm system by their ids in a single batch operation. it’s designed for efficient bulk management of line items, particularly useful when you need to archive a large number of items simultaneously. the endpoint should be used when you want to remove multiple line items from active use without permanently deleting them. it’s important to note that this operation is not reversible through the api, so use it carefully. the endpoint doesn’t return the archived items; it only confirms the successful processing of the request with a 204 no content response.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Merges two line items of the same type in hubspot’s crm. this endpoint allows you to combine duplicate or related line items, consolidating their information into a single record. use this when you need to clean up redundant data, combine similar items, or streamline your sales records. the merged result will contain the combined data from both original line items, with one item designated as the primary record. note that this operation is irreversible, so it should be used with caution and proper validation to ensure the correct items are being merged.

Action Parameters

objectIdToMerge
stringRequired
primaryObjectId
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a batch of quotes from hubspot’s crm based on specified property values or ids. this endpoint allows for efficient bulk retrieval of quote data, making it ideal for synchronizing large datasets or performing mass updates. it supports filtering by various quote properties and can optionally include archived quotes. the response provides detailed information about each retrieved quote, including all associated properties and values. use this endpoint when you need to fetch multiple quotes simultaneously, reducing the number of api calls required for large-scale operations.

Action Parameters

archived
boolean
propertiesWithHistory
arrayRequired
idProperty
string
inputs
arrayRequired
properties
arrayRequired

Action Response

data
object
successful
boolean
error

Deletes a specific calling extension from the hubspot crm system. this operation permanently removes the calling extension service as an option for all connected hubspot accounts. use this endpoint when you want to completely deactivate and remove a calling extension from the hubspot ecosystem. it’s important to note that this action is irreversible and will affect all users who have been utilizing this calling extension. exercise caution when invoking this endpoint, as it will impact the functionality available to your hubspot users.

Action Parameters

appId
integerRequired

Action Response

data
object
successful
boolean
error

Updates a batch of line items in the hubspot crm simultaneously. this endpoint allows for efficient bulk updates of multiple line items in a single api call, reducing the number of individual requests needed for large-scale changes. it’s particularly useful for synchronizing data from external systems or performing mass updates to line items. the endpoint accepts a batch of line item data and attempts to update each item, returning a comprehensive response that includes the status of each update operation. while this method is powerful for bulk operations, it should be used judiciously to avoid overwhelming the api or hitting rate limits.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Archives a batch of properties for a specified crm object type in hubspot. this endpoint allows for efficient bulk archiving of multiple properties simultaneously, regardless of their initial state. it’s ideal for cleaning up or reorganizing large sets of custom properties in your hubspot crm. the operation is idempotent, ensuring consistent results even if properties are already archived or don’t exist.

Action Parameters

objectType
stringRequired
inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Searches for products in the hubspot crm based on specified criteria. this endpoint allows you to find products that match certain conditions, enabling efficient product management and retrieval. use this when you need to locate specific products or groups of products within your hubspot crm. the search is performed using a flexible criteria system, allowing for complex queries. the results are paginated, making it suitable for handling large product catalogs. note that this endpoint has a rate limit exemption, allowing for more frequent use compared to other endpoints.

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

Fetch revenue attribution report data for a specified campaign

Action Parameters

campaignGuid
stringRequired
attributionModel
string
startDate
string
endDate
string

Action Response

data
object
successful
boolean
error

Permanently deletes a contact and all associated content from hubspot’s crm system to comply with gdpr regulations. this endpoint should be used when a data subject exercises their right to erasure under gdpr. it provides the option to identify a contact by email address using the ‘idproperty’ set to ‘email’. if the email address is not found, it will be added to a blocklist to prevent future use. this operation is irreversible and should be used with caution, as it will remove all data associated with the contact.

Action Parameters

idProperty
string
objectId
stringRequired

Action Response

data
object
successful
boolean
error

This endpoint removes a specified token from an existing event template in hubspot’s crm system. it’s used to update event templates by removing outdated or unnecessary tokens, ensuring that new events created from the template no longer include the removed token. while this action doesn’t affect existing events or crm objects, it impacts the creation of new events and the display of information in the timeline for newer crm objects. use this endpoint when you need to modify an event template’s structure by removing a specific token, but be aware that it may affect related lists, reports, and timeline displays for newer data.

Action Parameters

eventTemplateId
stringRequired
tokenName
stringRequired
appId
integerRequired

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for tickets in hubspot’s crm system based on specific criteria. it’s designed for retrieving targeted sets of ticket records that match your search parameters. the search is performed using a post request with a json body containing your search criteria, filters, and sorting preferences. this endpoint is particularly useful when you need to find tickets matching complex conditions or when you want to implement custom ticket views or reports in your application. note that while this endpoint has a rate limit exemption, it’s still important to use it judiciously to avoid overwhelming the system with frequent, large-scale searches.

Action Parameters

query
string
limit
integerDefaults to 5
after
string
sorts
array
properties
array
custom_properties
array
filterGroups
array

Action Response

data
object
successful
boolean
error

This endpoint allows you to search for quotes in the hubspot crm based on specified criteria. it provides a flexible way to filter and retrieve quote data, enabling you to find specific quotes or groups of quotes that match your requirements. the search functionality supports complex queries with multiple filter groups and sorting options. use this endpoint when you need to locate quotes based on custom criteria, such as date ranges, amounts, or associated deals. the search results include a collection of quote objects along with pagination information for handling large result sets. note that while this endpoint is powerful, it requires a well-structured request body to function effectively, and the search is limited to the quotes scope within the crm.

Action Parameters

query
string
limit
integerRequired
after
stringRequired
sorts
arrayRequired
properties
arrayRequired
filterGroups
arrayRequired

Action Response

data
object
successful
boolean
error

This endpoint allows for the creation of multiple deals simultaneously in hubspot’s crm. it’s designed for efficient bulk operations, enabling users to create a large number of deals in a single api call. this is particularly useful for integrating data from external systems, migrating deal information, or setting up initial deal pipelines in bulk. the endpoint accepts a batch of deal objects and attempts to create them all, returning detailed results for each deal creation attempt. it’s important to note that this is an all-or-nothing operation for each individual deal, but not for the entire batch - some deals may be created successfully while others fail.

Action Parameters

inputs
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves detailed information about a specific hubspot crm contact using their internal object id. this endpoint allows for customized data retrieval, enabling developers to specify which properties to return, include property history, fetch associated object ids, and filter for archived contacts. it’s ideal for situations where you need to access comprehensive contact information or integrate contact data into external systems. the endpoint is particularly useful for building custom crm dashboards, generating detailed contact reports, or syncing contact data with other applications.

Action Parameters

contactId
stringRequired
properties
array
propertiesWithHistory
array
associations
array
archived
boolean

Action Response

data
object
successful
boolean
error

Creates a new stage within an existing pipeline in hubspot’s crm. this endpoint allows you to add a new stage to a specific pipeline, which can be used to represent different steps in your sales, marketing, or customer service processes. the created stage will be associated with the pipeline identified by the provided pipelineid. use this when you need to expand or modify the structure of your crm pipelines by adding new stages. the endpoint returns the complete details of the newly created stage, including its unique identifier.

Action Parameters

objectType
stringRequired
pipelineId
stringRequired
metadata
objectRequired
displayOrder
integerRequired
label
stringRequired

Action Response

data
object
successful
boolean
error