HubSpot stores CRM contacts, companies, deals, tickets, and related records. Use this integration to read and update those records and trigger workflows from HubSpot events. Follow the HubSpot setup guide to connect your account.
Connection guides: Private app tokens · Setup guide .
Sim requests these scopes when someone connects a HubSpot account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/hubspotEnvironment variables HUBSPOT_CLIENT_ID, HUBSPOT_CLIENT_SECRET
Scope Description crm.objects.contacts.readRead HubSpot contacts crm.objects.contacts.writeCreate, update, and delete HubSpot contacts crm.objects.companies.readRead HubSpot companies crm.objects.companies.writeCreate, update, and delete HubSpot companies crm.objects.deals.readRead HubSpot deals crm.objects.deals.writeCreate, update, and delete HubSpot deals crm.objects.owners.readRead HubSpot object owners crm.objects.users.readRead HubSpot users crm.objects.marketing_events.readRead HubSpot marketing events crm.objects.line_items.readRead HubSpot line items crm.objects.line_items.writeCreate, update, and delete HubSpot line items crm.objects.quotes.readRead HubSpot quotes crm.objects.appointments.readRead HubSpot appointments crm.objects.appointments.writeCreate and update HubSpot appointments crm.objects.carts.readRead HubSpot shopping carts sales-email-readRead the content of HubSpot email engagements crm.lists.readRead HubSpot lists crm.lists.writeCreate and update HubSpot lists ticketsCreate, read, update, and delete HubSpot tickets oauthAuthenticate with HubSpot OAuth
Manage contacts, companies, deals, tickets, and other CRM objects. Use trigger mode to start workflows when records are created, updated, a specific property changes, or a contact joins a list.
Retrieve all users from HubSpot account
Inputs and outputsParameter Type Required Description limitstring No Number of results to return (default: 10, max: 100) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot user property names to return (e.g., "hs_email,hs_given_name,hs_family_name")
Parameter Type Description usersarray Array of HubSpot CRM records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Record properties ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page totalItemsnumber Total number of users returned successboolean Operation success status
Retrieve all contacts from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "email,firstname,lastname,phone") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "companies,deals")
Parameter Type Description contactsarray Array of HubSpot contact records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Contact properties ↳ email string Contact email address ↳ firstname string Contact first name ↳ lastname string Contact last name ↳ phone string Contact phone number ↳ mobilephone string Contact mobile phone number ↳ company string Associated company name ↳ website string Contact website URL ↳ jobtitle string Contact job title ↳ lifecyclestage string Lifecycle stage (subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Contact creation date (ISO 8601) ↳ lastmodifieddate string Last modified date (ISO 8601) ↳ address string Street address ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ fax string Fax number ↳ hs_timezone string Contact timezone ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single contact by ID or email from HubSpot
Inputs and outputsParameter Type Required Description contactIdstring Yes The HubSpot contact ID (numeric string) or email address to retrieve idPropertystring No Property to use as unique identifier (e.g., "email"). If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "email,firstname,lastname,phone") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "companies,deals")
Parameter Type Description contactobject HubSpot contact record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Contact properties ↳ email string Contact email address ↳ firstname string Contact first name ↳ lastname string Contact last name ↳ phone string Contact phone number ↳ mobilephone string Contact mobile phone number ↳ company string Associated company name ↳ website string Contact website URL ↳ jobtitle string Contact job title ↳ lifecyclestage string Lifecycle stage (subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Contact creation date (ISO 8601) ↳ lastmodifieddate string Last modified date (ISO 8601) ↳ address string Street address ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ fax string Fax number ↳ hs_timezone string Contact timezone ↳ associations object Associated records (companies, deals, etc.) contactIdstring The retrieved contact ID successboolean Operation success status
Create a new contact in HubSpot. Requires at least one of: email, firstname, or lastname
Inputs and outputsParameter Type Required Description propertiesobject Yes Contact properties as JSON object. Must include at least one of: email, firstname, or lastname (e.g., {"email": "john@example.com ", "firstname": "John", "lastname": "Doe"}) associationsarray No Array of associations to create with the contact as JSON. Each object should have "to.id" (company/deal ID) and "types" array with "associationCategory" and "associationTypeId"
Parameter Type Description contactobject HubSpot contact record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Contact properties ↳ email string Contact email address ↳ firstname string Contact first name ↳ lastname string Contact last name ↳ phone string Contact phone number ↳ mobilephone string Contact mobile phone number ↳ company string Associated company name ↳ website string Contact website URL ↳ jobtitle string Contact job title ↳ lifecyclestage string Lifecycle stage (subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Contact creation date (ISO 8601) ↳ lastmodifieddate string Last modified date (ISO 8601) ↳ address string Street address ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ fax string Fax number ↳ hs_timezone string Contact timezone ↳ associations object Associated records (companies, deals, etc.) contactIdstring The created contact ID successboolean Operation success status
Update an existing contact in HubSpot by ID or email
Inputs and outputsParameter Type Required Description contactIdstring Yes The HubSpot contact ID (numeric string) or email of the contact to update idPropertystring No Property to use as unique identifier (e.g., "email"). If not specified, uses record ID propertiesobject Yes Contact properties to update as JSON object (e.g., {"firstname": "John", "phone": "+1234567890"})
Parameter Type Description contactobject HubSpot contact record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Contact properties ↳ email string Contact email address ↳ firstname string Contact first name ↳ lastname string Contact last name ↳ phone string Contact phone number ↳ mobilephone string Contact mobile phone number ↳ company string Associated company name ↳ website string Contact website URL ↳ jobtitle string Contact job title ↳ lifecyclestage string Lifecycle stage (subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Contact creation date (ISO 8601) ↳ lastmodifieddate string Last modified date (ISO 8601) ↳ address string Street address ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ fax string Fax number ↳ hs_timezone string Contact timezone ↳ associations object Associated records (companies, deals, etc.) contactIdstring The updated contact ID successboolean Operation success status
Search for contacts in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "CONTAINS_TOKEN", "GT"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against contact name, email, and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["email", "firstname", "lastname", "phone"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description contactsarray Array of HubSpot contact records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Contact properties ↳ email string Contact email address ↳ firstname string Contact first name ↳ lastname string Contact last name ↳ phone string Contact phone number ↳ mobilephone string Contact mobile phone number ↳ company string Associated company name ↳ website string Contact website URL ↳ jobtitle string Contact job title ↳ lifecyclestage string Lifecycle stage (subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Contact creation date (ISO 8601) ↳ lastmodifieddate string Last modified date (ISO 8601) ↳ address string Street address ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ fax string Fax number ↳ hs_timezone string Contact timezone ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching contacts successboolean Operation success status
Retrieve all companies from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "name,domain,industry") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,deals")
Parameter Type Description companiesarray Array of HubSpot company records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Company properties ↳ name string Company name ↳ domain string Company website domain (unique identifier) ↳ description string Company description ↳ industry string Industry type (e.g., Airlines/Aviation) ↳ phone string Company phone number ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ address string Street address ↳ numberofemployees string Total number of employees ↳ annualrevenue string Annual revenue estimate ↳ lifecyclestage string Lifecycle stage ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Company creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ hs_additional_domains string Additional domains (semicolon-separated) ↳ num_associated_contacts string Number of associated contacts (auto-updated) ↳ num_associated_deals string Number of associated deals (auto-updated) ↳ website string Company website URL ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single company by ID or domain from HubSpot
Inputs and outputsParameter Type Required Description companyIdstring Yes The HubSpot company ID (numeric string) or domain to retrieve idPropertystring No Property to use as unique identifier (e.g., "domain"). If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "name,domain,industry") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,deals")
Parameter Type Description companyobject HubSpot company record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Company properties ↳ name string Company name ↳ domain string Company website domain (unique identifier) ↳ description string Company description ↳ industry string Industry type (e.g., Airlines/Aviation) ↳ phone string Company phone number ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ address string Street address ↳ numberofemployees string Total number of employees ↳ annualrevenue string Annual revenue estimate ↳ lifecyclestage string Lifecycle stage ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Company creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ hs_additional_domains string Additional domains (semicolon-separated) ↳ num_associated_contacts string Number of associated contacts (auto-updated) ↳ num_associated_deals string Number of associated deals (auto-updated) ↳ website string Company website URL ↳ associations object Associated records (contacts, deals, etc.) companyIdstring The retrieved company ID successboolean Operation success status
Create a new company in HubSpot
Inputs and outputsParameter Type Required Description propertiesobject Yes Company properties as JSON object (e.g., {"name": "Acme Inc", "domain": "acme.com", "industry": "Technology"}) associationsarray No Array of associations to create with the company as JSON (each with "to.id" and "types" containing "associationCategory" and "associationTypeId")
Parameter Type Description companyobject HubSpot company record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Company properties ↳ name string Company name ↳ domain string Company website domain (unique identifier) ↳ description string Company description ↳ industry string Industry type (e.g., Airlines/Aviation) ↳ phone string Company phone number ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ address string Street address ↳ numberofemployees string Total number of employees ↳ annualrevenue string Annual revenue estimate ↳ lifecyclestage string Lifecycle stage ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Company creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ hs_additional_domains string Additional domains (semicolon-separated) ↳ num_associated_contacts string Number of associated contacts (auto-updated) ↳ num_associated_deals string Number of associated deals (auto-updated) ↳ website string Company website URL ↳ associations object Associated records (contacts, deals, etc.) companyIdstring The created company ID successboolean Operation success status
Update an existing company in HubSpot by ID or domain
Inputs and outputsParameter Type Required Description companyIdstring Yes The HubSpot company ID (numeric string) or domain of the company to update idPropertystring No Property to use as unique identifier (e.g., "domain"). If not specified, uses record ID propertiesobject Yes Company properties to update as JSON object (e.g., {"name": "New Name", "industry": "Finance"})
Parameter Type Description companyobject HubSpot company record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Company properties ↳ name string Company name ↳ domain string Company website domain (unique identifier) ↳ description string Company description ↳ industry string Industry type (e.g., Airlines/Aviation) ↳ phone string Company phone number ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ address string Street address ↳ numberofemployees string Total number of employees ↳ annualrevenue string Annual revenue estimate ↳ lifecyclestage string Lifecycle stage ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Company creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ hs_additional_domains string Additional domains (semicolon-separated) ↳ num_associated_contacts string Number of associated contacts (auto-updated) ↳ num_associated_deals string Number of associated deals (auto-updated) ↳ website string Company website URL ↳ associations object Associated records (contacts, deals, etc.) companyIdstring The updated company ID successboolean Operation success status
Search for companies in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "CONTAINS_TOKEN", "GT"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against company name, domain, and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["name", "domain", "industry"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description companiesarray Array of HubSpot company records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Company properties ↳ name string Company name ↳ domain string Company website domain (unique identifier) ↳ description string Company description ↳ industry string Industry type (e.g., Airlines/Aviation) ↳ phone string Company phone number ↳ city string City ↳ state string State/Region ↳ zip string Postal/ZIP code ↳ country string Country ↳ address string Street address ↳ numberofemployees string Total number of employees ↳ annualrevenue string Annual revenue estimate ↳ lifecyclestage string Lifecycle stage ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Company creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ hs_additional_domains string Additional domains (semicolon-separated) ↳ num_associated_contacts string Number of associated contacts (auto-updated) ↳ num_associated_deals string Number of associated deals (auto-updated) ↳ website string Company website URL ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching companies successboolean Operation success status
Retrieve all deals from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "dealname,amount,dealstage") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description dealsarray Array of HubSpot deal records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Deal properties ↳ dealname string Deal name ↳ amount string Deal amount ↳ dealstage string Current deal stage ↳ pipeline string Pipeline the deal is in ↳ closedate string Expected close date (ISO 8601) ↳ dealtype string Deal type (New Business, Existing Business, etc.) ↳ description string Deal description ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Deal creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ num_associated_contacts string Number of associated contacts ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single deal by ID from HubSpot
Inputs and outputsParameter Type Required Description dealIdstring Yes The HubSpot deal ID to retrieve idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "dealname,amount,dealstage") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description dealobject HubSpot deal record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Deal properties ↳ dealname string Deal name ↳ amount string Deal amount ↳ dealstage string Current deal stage ↳ pipeline string Pipeline the deal is in ↳ closedate string Expected close date (ISO 8601) ↳ dealtype string Deal type (New Business, Existing Business, etc.) ↳ description string Deal description ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Deal creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ num_associated_contacts string Number of associated contacts ↳ associations object Associated records (contacts, companies, line items, etc.) dealIdstring The retrieved deal ID successboolean Operation success status
Create a new deal in HubSpot with the given properties (e.g., dealname, amount, dealstage)
Inputs and outputsParameter Type Required Description propertiesobject Yes Deal properties as JSON object. Should include dealname and dealstage, plus pipeline when the account has multiple pipelines (e.g., {"dealname": "New Deal", "amount": "5000", "dealstage": "appointmentscheduled"}) associationsarray No Array of associations to create with the deal as JSON. Each object should have "to.id" and "types" array with "associationCategory" and "associationTypeId"
Parameter Type Description dealobject HubSpot deal record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Deal properties ↳ dealname string Deal name ↳ amount string Deal amount ↳ dealstage string Current deal stage ↳ pipeline string Pipeline the deal is in ↳ closedate string Expected close date (ISO 8601) ↳ dealtype string Deal type (New Business, Existing Business, etc.) ↳ description string Deal description ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Deal creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ num_associated_contacts string Number of associated contacts ↳ associations object Associated records (contacts, companies, line items, etc.) dealIdstring The created deal ID successboolean Operation success status
Update an existing deal in HubSpot by ID
Inputs and outputsParameter Type Required Description dealIdstring Yes The HubSpot deal ID to update idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesobject Yes Deal properties to update as JSON object (e.g., {"amount": "10000", "dealstage": "closedwon"})
Parameter Type Description dealobject HubSpot deal record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Deal properties ↳ dealname string Deal name ↳ amount string Deal amount ↳ dealstage string Current deal stage ↳ pipeline string Pipeline the deal is in ↳ closedate string Expected close date (ISO 8601) ↳ dealtype string Deal type (New Business, Existing Business, etc.) ↳ description string Deal description ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Deal creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ num_associated_contacts string Number of associated contacts ↳ associations object Associated records (contacts, companies, line items, etc.) dealIdstring The updated deal ID successboolean Operation success status
Search for deals in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "NEQ", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against deal name and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["dealname", "amount", "dealstage"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description dealsarray Array of HubSpot deal records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Deal properties ↳ dealname string Deal name ↳ amount string Deal amount ↳ dealstage string Current deal stage ↳ pipeline string Pipeline the deal is in ↳ closedate string Expected close date (ISO 8601) ↳ dealtype string Deal type (New Business, Existing Business, etc.) ↳ description string Deal description ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Deal creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ num_associated_contacts string Number of associated contacts ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching deals successboolean Operation success status
Retrieve all tickets from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "subject,content,hs_ticket_priority") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description ticketsarray Array of HubSpot ticket records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Ticket properties ↳ subject string Ticket subject/name ↳ content string Ticket content/description ↳ hs_pipeline string Pipeline the ticket is in ↳ hs_pipeline_stage string Current pipeline stage ↳ hs_ticket_priority string Ticket priority (LOW, MEDIUM, HIGH) ↳ hs_ticket_category string Ticket category ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Ticket creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single ticket by ID from HubSpot
Inputs and outputsParameter Type Required Description ticketIdstring Yes The HubSpot ticket ID to retrieve idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "subject,content,hs_ticket_priority") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description ticketobject HubSpot ticket record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Ticket properties ↳ subject string Ticket subject/name ↳ content string Ticket content/description ↳ hs_pipeline string Pipeline the ticket is in ↳ hs_pipeline_stage string Current pipeline stage ↳ hs_ticket_priority string Ticket priority (LOW, MEDIUM, HIGH) ↳ hs_ticket_category string Ticket category ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Ticket creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) ticketIdstring The retrieved ticket ID successboolean Operation success status
Create a new ticket in HubSpot. Requires subject and hs_pipeline_stage properties
Inputs and outputsParameter Type Required Description propertiesobject Yes Ticket properties as JSON object. Must include subject and hs_pipeline_stage (e.g., {"subject": "Support request", "hs_pipeline_stage": "1", "hs_ticket_priority": "HIGH"}) associationsarray No Array of associations to create with the ticket as JSON. Each object should have "to.id" and "types" array with "associationCategory" and "associationTypeId"
Parameter Type Description ticketobject HubSpot ticket record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Ticket properties ↳ subject string Ticket subject/name ↳ content string Ticket content/description ↳ hs_pipeline string Pipeline the ticket is in ↳ hs_pipeline_stage string Current pipeline stage ↳ hs_ticket_priority string Ticket priority (LOW, MEDIUM, HIGH) ↳ hs_ticket_category string Ticket category ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Ticket creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) ticketIdstring The created ticket ID successboolean Operation success status
Update an existing ticket in HubSpot by ID
Inputs and outputsParameter Type Required Description ticketIdstring Yes The HubSpot ticket ID to update idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesobject Yes Ticket properties to update as JSON object (e.g., {"subject": "Updated subject", "hs_ticket_priority": "HIGH"})
Parameter Type Description ticketobject HubSpot ticket record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Ticket properties ↳ subject string Ticket subject/name ↳ content string Ticket content/description ↳ hs_pipeline string Pipeline the ticket is in ↳ hs_pipeline_stage string Current pipeline stage ↳ hs_ticket_priority string Ticket priority (LOW, MEDIUM, HIGH) ↳ hs_ticket_category string Ticket category ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Ticket creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) ticketIdstring The updated ticket ID successboolean Operation success status
Search for tickets in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "NEQ", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against ticket subject and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["subject", "content", "hs_ticket_priority"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description ticketsarray Array of HubSpot ticket records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Ticket properties ↳ subject string Ticket subject/name ↳ content string Ticket content/description ↳ hs_pipeline string Pipeline the ticket is in ↳ hs_pipeline_stage string Current pipeline stage ↳ hs_ticket_priority string Ticket priority (LOW, MEDIUM, HIGH) ↳ hs_ticket_category string Ticket category ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Ticket creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching tickets successboolean Operation success status
Retrieve all notes from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_note_body,hs_timestamp,hubspot_owner_id") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies,deals")
Parameter Type Description notesarray Array of HubSpot note records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Note properties ↳ hs_note_body string Note text/body (supports rich text/HTML) ↳ hs_timestamp string Note activity time (ISO 8601) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_attachment_ids string Semicolon-separated IDs of files attached to the note ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Note creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single note by ID from HubSpot
Inputs and outputsParameter Type Required Description noteIdstring Yes The HubSpot note ID to retrieve propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_note_body,hs_timestamp,hubspot_owner_id") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies,deals")
Parameter Type Description noteobject HubSpot note record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Note properties ↳ hs_note_body string Note text/body (supports rich text/HTML) ↳ hs_timestamp string Note activity time (ISO 8601) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_attachment_ids string Semicolon-separated IDs of files attached to the note ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Note creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, deals, etc.) noteIdstring The retrieved note ID successboolean Operation success status
Log a note in HubSpot and optionally associate it with contacts, companies, or deals. Requires hs_timestamp and hs_note_body properties
Inputs and outputsParameter Type Required Description propertiesobject Yes Note properties as JSON object. Must include "hs_timestamp" (ISO 8601 activity time) and "hs_note_body" (the note text). e.g., {"hs_timestamp": "2026-06-13T00:00:00Z", "hs_note_body": "Followed up via phone"} associationsarray No Array of associations as JSON. Each object has "to.id" (record ID) and "types" array with "associationCategory" ("HUBSPOT_DEFINED") and "associationTypeId" (202 = note→contact, 190 = note→company, 214 = note→deal)
Parameter Type Description noteobject HubSpot note record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Note properties ↳ hs_note_body string Note text/body (supports rich text/HTML) ↳ hs_timestamp string Note activity time (ISO 8601) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_attachment_ids string Semicolon-separated IDs of files attached to the note ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Note creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, deals, etc.) noteIdstring The created note ID successboolean Operation success status
Search for notes in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "CONTAINS_TOKEN", "GT"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against note text fields propertiesarray No Array of HubSpot property names to return (e.g., ["hs_note_body", "hs_timestamp", "hubspot_owner_id"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description notesarray Array of HubSpot note records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Note properties ↳ hs_note_body string Note text/body (supports rich text/HTML) ↳ hs_timestamp string Note activity time (ISO 8601) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_attachment_ids string Semicolon-separated IDs of files attached to the note ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Note creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching notes successboolean Operation success status
Retrieve all email engagements from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_email_subject,hs_email_text,hs_timestamp") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies,deals")
Parameter Type Description emailsarray Array of HubSpot email engagement records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Email properties ↳ hs_timestamp string Email activity time (ISO 8601) ↳ hs_email_direction string Direction (EMAIL = outgoing, INCOMING_EMAIL, FORWARDED_EMAIL) ↳ hs_email_status string Send status (SENT, SENDING, SCHEDULED, FAILED, BOUNCED) ↳ hs_email_subject string Email subject line ↳ hs_email_text string Plain-text email body ↳ hs_email_html string HTML email body ↳ hs_email_headers string JSON-encoded from/to/cc/bcc headers ↳ hs_email_from_email string Sender email address ↳ hs_email_to_email string Recipient email address(es) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Email creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single email engagement by ID from HubSpot (content requires the sales-email-read scope)
Inputs and outputsParameter Type Required Description emailIdstring Yes The HubSpot email engagement ID to retrieve propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_email_subject,hs_email_text,hs_timestamp") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies,deals")
Parameter Type Description emailobject HubSpot email engagement record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Email properties ↳ hs_timestamp string Email activity time (ISO 8601) ↳ hs_email_direction string Direction (EMAIL = outgoing, INCOMING_EMAIL, FORWARDED_EMAIL) ↳ hs_email_status string Send status (SENT, SENDING, SCHEDULED, FAILED, BOUNCED) ↳ hs_email_subject string Email subject line ↳ hs_email_text string Plain-text email body ↳ hs_email_html string HTML email body ↳ hs_email_headers string JSON-encoded from/to/cc/bcc headers ↳ hs_email_from_email string Sender email address ↳ hs_email_to_email string Recipient email address(es) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Email creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, deals, etc.) emailIdstring The retrieved email engagement ID successboolean Operation success status
Log an email engagement in HubSpot and optionally associate it with contacts. Requires the hs_timestamp property
Inputs and outputsParameter Type Required Description propertiesobject Yes Email properties as JSON object. Must include "hs_timestamp" (ISO 8601). Common fields: "hs_email_direction" (EMAIL, INCOMING_EMAIL, FORWARDED_EMAIL), "hs_email_status" (SENT, SENDING, SCHEDULED, FAILED, BOUNCED), "hs_email_subject", "hs_email_text", "hs_email_html", "hs_email_headers" (JSON string) associationsarray No Array of associations as JSON. Each object has "to.id" (record ID) and "types" array with "associationCategory" ("HUBSPOT_DEFINED") and "associationTypeId" (198 = email→contact)
Parameter Type Description emailobject HubSpot email engagement record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Email properties ↳ hs_timestamp string Email activity time (ISO 8601) ↳ hs_email_direction string Direction (EMAIL = outgoing, INCOMING_EMAIL, FORWARDED_EMAIL) ↳ hs_email_status string Send status (SENT, SENDING, SCHEDULED, FAILED, BOUNCED) ↳ hs_email_subject string Email subject line ↳ hs_email_text string Plain-text email body ↳ hs_email_html string HTML email body ↳ hs_email_headers string JSON-encoded from/to/cc/bcc headers ↳ hs_email_from_email string Sender email address ↳ hs_email_to_email string Recipient email address(es) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Email creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, deals, etc.) emailIdstring The created email engagement ID successboolean Operation success status
Search for email engagements in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "CONTAINS_TOKEN", "GT"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against email text fields propertiesarray No Array of HubSpot property names to return (e.g., ["hs_email_subject", "hs_email_text", "hs_timestamp"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description emailsarray Array of HubSpot email engagement records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Email properties ↳ hs_timestamp string Email activity time (ISO 8601) ↳ hs_email_direction string Direction (EMAIL = outgoing, INCOMING_EMAIL, FORWARDED_EMAIL) ↳ hs_email_status string Send status (SENT, SENDING, SCHEDULED, FAILED, BOUNCED) ↳ hs_email_subject string Email subject line ↳ hs_email_text string Plain-text email body ↳ hs_email_html string HTML email body ↳ hs_email_headers string JSON-encoded from/to/cc/bcc headers ↳ hs_email_from_email string Sender email address ↳ hs_email_to_email string Recipient email address(es) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Email creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching emails successboolean Operation success status
Read property definitions and their enumeration (picklist) options for a HubSpot object type, e.g. the values for lifecyclestage or hs_lead_status on contacts
Inputs and outputsParameter Type Required Description objectTypestring Yes Object type to read properties for (e.g., "contacts", "companies", "deals", "tickets", "line_items", "quotes") propertyNamestring No Internal name of a single property to retrieve (e.g., "hs_lead_status"). Omit to return all properties for the object type archivedboolean No Whether to return only archived properties (default false)
Parameter Type Description propertiesarray Array of HubSpot property definitions ↳ name string Internal property name ↳ label string Human-readable label ↳ type string Property data type (string, number, enumeration, bool, datetime, etc.) ↳ fieldType string Field type controlling HubSpot UI rendering ↳ description string Property help text ↳ groupName string Property group the property belongs to ↳ options array Enumeration/picklist options (empty for non-enumerated properties) ↳ label string Human-readable option label ↳ value string Internal value used when setting the property ↳ displayOrder number Display order (-1 sorts last) ↳ hidden boolean Whether the option is hidden in the HubSpot UI ↳ description string Option description ↳ displayOrder number Display order ↳ calculated boolean Whether the property is calculated by HubSpot ↳ hidden boolean Whether the property is hidden ↳ hubspotDefined boolean Whether the property is a HubSpot default property ↳ archived boolean Whether the property is archived metadataobject Response metadata ↳ totalReturned number Number of property definitions returned ↳ objectType string Object type the properties belong to successboolean Operation success status
List records of one object type associated with a given record, e.g. all emails or notes logged on a contact
Inputs and outputsParameter Type Required Description objectTypestring Yes Source object type (e.g., "contacts", "companies", "deals") objectIdstring Yes ID of the source record toObjectTypestring Yes Target object type to list associations to (e.g., "emails", "notes", "deals") limitstring No Maximum number of associated records per page (default 500) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description resultsarray Array of associated records ↳ toObjectId string ID of the associated (target) record ↳ associationTypes array Association types linking the two records ↳ category string Association category (HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED) ↳ typeId number Association type ID ↳ label string Association label pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Associate two HubSpot records. Creates the default (unlabeled) association unless an association type ID is provided
Inputs and outputsParameter Type Required Description objectTypestring Yes Source object type (e.g., "emails", "notes", "contacts") objectIdstring Yes ID of the source record toObjectTypestring Yes Target object type to associate to (e.g., "contacts", "companies", "deals") toObjectIdstring Yes ID of the target record associationCategorystring No Association category for a labeled association (HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED). Defaults to HUBSPOT_DEFINED when an association type ID is provided associationTypeIdnumber No Specific association type ID for a labeled association. Omit to create the default association for the object pair
Parameter Type Description fromObjectIdstring ID of the source record toObjectIdstring ID of the associated target record labelsarray Association labels (empty for default associations) successboolean Operation success status
Remove all associations between two HubSpot records
Inputs and outputsParameter Type Required Description objectTypestring Yes The source object type (e.g., "contacts", "companies", "deals") objectIdstring Yes The ID of the source record toObjectTypestring Yes The target object type (e.g., "emails", "notes", "contacts") toObjectIdstring Yes The ID of the target record
Parameter Type Description fromObjectIdstring Source record ID toObjectIdstring Target record ID deletedboolean Whether the associations were removed successboolean Operation success status
Retrieve the association types (category, typeId, label) defined between two HubSpot object types
Inputs and outputsParameter Type Required Description objectTypestring Yes The source object type (e.g., "contacts", "companies", "deals") toObjectTypestring Yes The target object type (e.g., "emails", "notes", "contacts")
Parameter Type Description labelsarray Association types defined between the two object types ↳ category string Association category (HUBSPOT_DEFINED or USER_DEFINED) ↳ typeId number Association type ID ↳ label string Human-readable label (null for unlabeled defaults) successboolean Operation success status
Archive a contact in HubSpot by ID (moves it to the recycling bin)
Inputs and outputsParameter Type Required Description contactIdstring Yes The numeric ID of the contact to delete
Parameter Type Description contactIdstring ID of the deleted contact deletedboolean Whether the contact was archived successboolean Operation success status
Archive a company in HubSpot by ID (moves it to the recycling bin)
Inputs and outputsParameter Type Required Description companyIdstring Yes The numeric ID of the company to delete
Parameter Type Description companyIdstring ID of the deleted company deletedboolean Whether the company was archived successboolean Operation success status
Archive a deal in HubSpot by ID (moves it to the recycling bin)
Inputs and outputsParameter Type Required Description dealIdstring Yes The numeric ID of the deal to delete
Parameter Type Description dealIdstring ID of the deleted deal deletedboolean Whether the deal was archived successboolean Operation success status
Archive a ticket in HubSpot by ID (moves it to the recycling bin)
Inputs and outputsParameter Type Required Description ticketIdstring Yes The numeric ID of the ticket to delete
Parameter Type Description ticketIdstring ID of the deleted ticket deletedboolean Whether the ticket was archived successboolean Operation success status
Archive a line item in HubSpot by ID (moves it to the recycling bin)
Inputs and outputsParameter Type Required Description lineItemIdstring Yes The numeric ID of the line item to delete
Parameter Type Description lineItemIdstring ID of the deleted line item deletedboolean Whether the line item was archived successboolean Operation success status
Search for line items in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "NEQ", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against line item name and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["name", "quantity", "price"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description lineItemsarray Array of HubSpot line item records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Line item properties ↳ name string Line item name ↳ description string Full description of the product ↳ hs_sku string Unique product identifier (SKU) ↳ quantity string Number of units included ↳ price string Unit price ↳ amount string Total cost (quantity * unit price) ↳ hs_line_item_currency_code string Currency code ↳ recurringbillingfrequency string Recurring billing frequency ↳ hs_recurring_billing_start_date string Recurring billing start date ↳ hs_recurring_billing_end_date string Recurring billing end date ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching line items successboolean Operation success status
Search for quotes in HubSpot using filters, sorting, and queries
Inputs and outputsParameter Type Required Description filterGroupsarray No Array of filter groups as JSON. Each group contains "filters" array with objects having "propertyName", "operator" (e.g., "EQ", "NEQ", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"), and "value" sortsarray No Array of sort objects as JSON with "propertyName" and "direction" ("ASCENDING" or "DESCENDING") querystring No Search query string to match against quote title and other text fields propertiesarray No Array of HubSpot property names to return (e.g., ["hs_title", "hs_expiration_date"]) limitnumber No Maximum number of results to return (max 200, default 10) afterstring No Pagination cursor for next page (from previous response)
Parameter Type Description quotesarray Array of HubSpot quote records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Quote properties ↳ hs_title string Quote name/title ↳ hs_expiration_date string Expiration date ↳ hs_status string Quote status ↳ hs_esign_enabled string Whether e-signatures are enabled ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available totalnumber Total number of matching quotes successboolean Operation success status
Retrieve the record IDs that are members of a HubSpot list, ordered by record ID
Inputs and outputsParameter Type Required Description listIdstring Yes The ID of the list to read members from limitstring No Maximum number of results per page (max 250, default 100) afterstring No Pagination cursor for next page of results (from previous response)
Parameter Type Description pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available membershipsarray Records that are members of the list ↳ recordId string ID of the member record ↳ membershipTimestamp string When the record was added to the list successboolean Operation success status
Add records to a manual (static) HubSpot list by record ID
Inputs and outputsParameter Type Required Description listIdstring Yes The ID of the list to add records to (MANUAL or SNAPSHOT lists only) recordIdsarray Yes Record IDs to add to the list, as a JSON array (e.g., ["123","456"]) or comma-separated string
Parameter Type Description recordIdsAddedarray IDs of the records that were added to the list recordIdsMissingarray IDs of the requested records that were not found successboolean Operation success status
Remove records from a manual (static) HubSpot list by record ID
Inputs and outputsParameter Type Required Description listIdstring Yes The ID of the list to remove records from (MANUAL or SNAPSHOT lists only) recordIdsarray Yes Record IDs to remove from the list, as a JSON array (e.g., ["123","456"]) or comma-separated string
Parameter Type Description recordIdsRemovedarray IDs of the records that were removed from the list recordIdsMissingarray IDs of the requested records that were not found successboolean Operation success status
Retrieve all line items from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "name,quantity,price,amount") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "deals,quotes")
Parameter Type Description lineItemsarray Array of HubSpot line item records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Line item properties ↳ name string Line item name ↳ description string Full description of the product ↳ hs_sku string Unique product identifier (SKU) ↳ quantity string Number of units included ↳ price string Unit price ↳ amount string Total cost (quantity * unit price) ↳ hs_line_item_currency_code string Currency code ↳ recurringbillingfrequency string Recurring billing frequency ↳ hs_recurring_billing_start_date string Recurring billing start date ↳ hs_recurring_billing_end_date string Recurring billing end date ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single line item by ID from HubSpot
Inputs and outputsParameter Type Required Description lineItemIdstring Yes The HubSpot line item ID to retrieve idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "name,quantity,price,amount") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "deals,quotes")
Parameter Type Description lineItemobject HubSpot line item record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Line item properties ↳ name string Line item name ↳ description string Full description of the product ↳ hs_sku string Unique product identifier (SKU) ↳ quantity string Number of units included ↳ price string Unit price ↳ amount string Total cost (quantity * unit price) ↳ hs_line_item_currency_code string Currency code ↳ recurringbillingfrequency string Recurring billing frequency ↳ hs_recurring_billing_start_date string Recurring billing start date ↳ hs_recurring_billing_end_date string Recurring billing end date ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (deals, quotes, etc.) lineItemIdstring The retrieved line item ID successboolean Operation success status
Create a new line item in HubSpot. Requires at least a name property
Inputs and outputsParameter Type Required Description propertiesobject Yes Line item properties as JSON object (e.g., {"name": "Product A", "quantity": "2", "price": "50.00", "hs_sku": "SKU-001"}) associationsarray No Array of associations to create with the line item as JSON. Each object should have "to.id" and "types" array with "associationCategory" and "associationTypeId"
Parameter Type Description lineItemobject HubSpot line item record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Line item properties ↳ name string Line item name ↳ description string Full description of the product ↳ hs_sku string Unique product identifier (SKU) ↳ quantity string Number of units included ↳ price string Unit price ↳ amount string Total cost (quantity * unit price) ↳ hs_line_item_currency_code string Currency code ↳ recurringbillingfrequency string Recurring billing frequency ↳ hs_recurring_billing_start_date string Recurring billing start date ↳ hs_recurring_billing_end_date string Recurring billing end date ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (deals, quotes, etc.) lineItemIdstring The created line item ID successboolean Operation success status
Update an existing line item in HubSpot by ID
Inputs and outputsParameter Type Required Description lineItemIdstring Yes The HubSpot line item ID to update idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesobject Yes Line item properties to update as JSON object (e.g., {"quantity": "5", "price": "25.00"})
Parameter Type Description lineItemobject HubSpot line item record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Line item properties ↳ name string Line item name ↳ description string Full description of the product ↳ hs_sku string Unique product identifier (SKU) ↳ quantity string Number of units included ↳ price string Unit price ↳ amount string Total cost (quantity * unit price) ↳ hs_line_item_currency_code string Currency code ↳ recurringbillingfrequency string Recurring billing frequency ↳ hs_recurring_billing_start_date string Recurring billing start date ↳ hs_recurring_billing_end_date string Recurring billing end date ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (deals, quotes, etc.) lineItemIdstring The updated line item ID successboolean Operation success status
Retrieve all quotes from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_title,hs_expiration_date,hs_status") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "deals,line_items")
Parameter Type Description quotesarray Array of HubSpot quote records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Quote properties ↳ hs_title string Quote name/title ↳ hs_expiration_date string Expiration date ↳ hs_status string Quote status ↳ hs_esign_enabled string Whether e-signatures are enabled ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single quote by ID from HubSpot
Inputs and outputsParameter Type Required Description quoteIdstring Yes The HubSpot quote ID to retrieve idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_title,hs_expiration_date,hs_status") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "deals,line_items")
Parameter Type Description quoteobject HubSpot quote record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Quote properties ↳ hs_title string Quote name/title ↳ hs_expiration_date string Expiration date ↳ hs_status string Quote status ↳ hs_esign_enabled string Whether e-signatures are enabled ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (deals, line items, etc.) quoteIdstring The retrieved quote ID successboolean Operation success status
Retrieve all appointments from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_appointment_name,hs_appointment_start") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description appointmentsarray Array of HubSpot appointment records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Appointment properties ↳ hs_appointment_name string Appointment title/name ↳ hs_appointment_start string Start time (ISO 8601) ↳ hs_appointment_end string End time (ISO 8601) ↳ hs_appointment_status string Appointment status (e.g., SCHEDULED) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single appointment by ID from HubSpot
Inputs and outputsParameter Type Required Description appointmentIdstring Yes The HubSpot appointment ID to retrieve idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesstring No Comma-separated list of HubSpot property names to return (e.g., "hs_appointment_name,hs_appointment_start") associationsstring No Comma-separated list of object types to retrieve associated IDs for (e.g., "contacts,companies")
Parameter Type Description appointmentobject HubSpot appointment record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Appointment properties ↳ hs_appointment_name string Appointment title/name ↳ hs_appointment_start string Start time (ISO 8601) ↳ hs_appointment_end string End time (ISO 8601) ↳ hs_appointment_status string Appointment status (e.g., SCHEDULED) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) appointmentIdstring The retrieved appointment ID successboolean Operation success status
Create a new appointment in HubSpot
Inputs and outputsParameter Type Required Description propertiesobject Yes Appointment properties as JSON object. Must include hs_appointment_start (e.g., {"hs_appointment_name": "Discovery Call", "hs_appointment_start": "2024-01-15T10:00:00Z", "hs_appointment_end": "2024-01-15T11:00:00Z"}) associationsarray No Array of associations to create with the appointment as JSON. Each object should have "to.id" and "types" array with "associationCategory" and "associationTypeId"
Parameter Type Description appointmentobject HubSpot appointment record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Appointment properties ↳ hs_appointment_name string Appointment title/name ↳ hs_appointment_start string Start time (ISO 8601) ↳ hs_appointment_end string End time (ISO 8601) ↳ hs_appointment_status string Appointment status (e.g., SCHEDULED) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) appointmentIdstring The created appointment ID successboolean Operation success status
Update an existing appointment in HubSpot by ID
Inputs and outputsParameter Type Required Description appointmentIdstring Yes The HubSpot appointment ID to update idPropertystring No Property to use as unique identifier. If not specified, uses record ID propertiesobject Yes Appointment properties to update as JSON object (e.g., {"hs_appointment_name": "Updated Call", "hs_appointment_start": "2024-01-15T10:00:00Z"})
Parameter Type Description appointmentobject HubSpot appointment record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Appointment properties ↳ hs_appointment_name string Appointment title/name ↳ hs_appointment_start string Start time (ISO 8601) ↳ hs_appointment_end string End time (ISO 8601) ↳ hs_appointment_status string Appointment status (e.g., SCHEDULED) ↳ hubspot_owner_id string HubSpot owner ID ↳ hs_object_id string HubSpot object ID (same as record ID) ↳ hs_createdate string Creation date (ISO 8601) ↳ hs_lastmodifieddate string Last modified date (ISO 8601) ↳ associations object Associated records (contacts, companies, etc.) appointmentIdstring The updated appointment ID successboolean Operation success status
Retrieve all carts from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response) propertiesstring No Comma-separated list of HubSpot property names to return associationsstring No Comma-separated list of object types to retrieve associated IDs for
Parameter Type Description cartsarray Array of HubSpot CRM records ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Record properties ↳ associations object Associated records pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single cart by ID from HubSpot
Inputs and outputsParameter Type Required Description cartIdstring Yes The HubSpot cart ID to retrieve propertiesstring No Comma-separated list of HubSpot property names to return associationsstring No Comma-separated list of object types to retrieve associated IDs for
Parameter Type Description cartobject HubSpot CRM record ↳ id string Unique record ID (hs_object_id) ↳ createdAt string Record creation timestamp (ISO 8601) ↳ updatedAt string Record last updated timestamp (ISO 8601) ↳ archived boolean Whether the record is archived ↳ properties object Record properties ↳ associations object Associated records cartIdstring The retrieved cart ID successboolean Operation success status
Retrieve all owners from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 100) afterstring No Pagination cursor for next page of results (from previous response) emailstring No Filter owners by email address
Parameter Type Description ownersarray Array of HubSpot owner objects ↳ id string Owner ID ↳ email string Owner email address ↳ firstName string Owner first name ↳ lastName string Owner last name ↳ userId number Associated user ID ↳ teams array Teams the owner belongs to ↳ id string Team ID ↳ name string Team name ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) ↳ archived boolean Whether the owner is archived pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve all marketing events from HubSpot account with pagination support
Inputs and outputsParameter Type Required Description limitstring No Maximum number of results per page (max 100, default 10) afterstring No Pagination cursor for next page of results (from previous response)
Parameter Type Description eventsarray Array of HubSpot marketing event objects ↳ objectId string Unique event ID (HubSpot internal) ↳ eventName string Event name ↳ eventType string Event type ↳ eventStatus string Event status ↳ eventDescription string Event description ↳ eventUrl string Event URL ↳ eventOrganizer string Event organizer ↳ startDateTime string Start date/time (ISO 8601) ↳ endDateTime string End date/time (ISO 8601) ↳ eventCancelled boolean Whether event is cancelled ↳ eventCompleted boolean Whether event is completed ↳ registrants number Number of registrants ↳ attendees number Number of attendees ↳ cancellations number Number of cancellations ↳ noShows number Number of no-shows ↳ externalEventId string External event ID ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available successboolean Operation success status
Retrieve a single marketing event by ID from HubSpot
Inputs and outputsParameter Type Required Description eventIdstring Yes The HubSpot marketing event objectId to retrieve
Parameter Type Description eventobject HubSpot marketing event ↳ objectId string Unique event ID (HubSpot internal) ↳ eventName string Event name ↳ eventType string Event type ↳ eventStatus string Event status ↳ eventDescription string Event description ↳ eventUrl string Event URL ↳ eventOrganizer string Event organizer ↳ startDateTime string Start date/time (ISO 8601) ↳ endDateTime string End date/time (ISO 8601) ↳ eventCancelled boolean Whether event is cancelled ↳ eventCompleted boolean Whether event is completed ↳ registrants number Number of registrants ↳ attendees number Number of attendees ↳ cancellations number Number of cancellations ↳ noShows number Number of no-shows ↳ externalEventId string External event ID ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) eventIdstring The retrieved marketing event ID successboolean Operation success status
Search and retrieve lists from HubSpot account
Inputs and outputsParameter Type Required Description querystring No Search query to filter lists by name. Leave empty to return all lists. countstring No Maximum number of results to return (default 20, max 500) offsetstring No Pagination offset for next page of results (use the offset value from previous response)
Parameter Type Description listsarray Array of HubSpot list objects ↳ listId string List ID ↳ name string List name ↳ objectTypeId string Object type ID (e.g., 0-1 for contacts) ↳ processingType string Processing type (MANUAL, DYNAMIC, SNAPSHOT) ↳ processingStatus string Processing status (COMPLETE, PROCESSING) ↳ listVersion number List version number ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) pagingobject Pagination information for fetching more results ↳ next object Next page cursor information ↳ after string Cursor for next page of results ↳ link string Link to next page metadataobject Response metadata ↳ totalReturned number Number of records returned in this response ↳ hasMore boolean Whether more records are available ↳ total number Total number of lists matching the query successboolean Operation success status
Retrieve a single list by ID from HubSpot
Inputs and outputsParameter Type Required Description listIdstring Yes The HubSpot list ID to retrieve
Parameter Type Description listobject HubSpot list ↳ listId string List ID ↳ name string List name ↳ objectTypeId string Object type ID (e.g., 0-1 for contacts) ↳ processingType string Processing type (MANUAL, DYNAMIC, SNAPSHOT) ↳ processingStatus string Processing status (COMPLETE, PROCESSING) ↳ listVersion number List version number ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) listIdstring The retrieved list ID successboolean Operation success status
Create a new list in HubSpot. Specify the object type and processing type (MANUAL or DYNAMIC)
Inputs and outputsParameter Type Required Description namestring Yes Name of the list objectTypeIdstring Yes Object type ID (e.g., "0-1" for contacts, "0-2" for companies) processingTypestring Yes Processing type: "MANUAL" for static lists or "DYNAMIC" for active lists
Parameter Type Description listobject HubSpot list ↳ listId string List ID ↳ name string List name ↳ objectTypeId string Object type ID (e.g., 0-1 for contacts) ↳ processingType string Processing type (MANUAL, DYNAMIC, SNAPSHOT) ↳ processingStatus string Processing status (COMPLETE, PROCESSING) ↳ listVersion number List version number ↳ createdAt string Creation date (ISO 8601) ↳ updatedAt string Last updated date (ISO 8601) listIdstring The created list ID successboolean Operation success status
A trigger starts a workflow when a supported event occurs in this service.
These triggers poll for new data on a schedule.
Triggers when HubSpot CRM records (contacts, companies, deals, tickets, custom objects) are created or updated, or when contacts join a list
Configuration and outputsParameter Type Required Description triggerCredentialsstring Yes Connect a HubSpot account so Sim can poll your CRM on your behalf. objectTypestring Yes What you want to watch. customObjectTypeIdstring No HubSpot custom object type ID (e.g. "2-12345"). Find it in HubSpot Settings → Objects → Custom Objects. listIdstring No The HubSpot list to watch for new members. eventTypestring No Created fires once per new record. Updated fires on any modification. Property Changed fires only when the chosen property changes value. targetPropertyNamestring No Fires only when this specific property changes value on a record. propertiesstring No Properties to include on each record. Leave empty to use sensible defaults. Sim always includes the timestamps it needs internally. pipelineIdstring No Restrict to a single pipeline. stageIdstring No Restrict to a single stage within the selected pipeline. ownerIdstring No Restrict to records owned by a specific HubSpot user. filtersstring No JSON array of HubSpot search filters, AND-combined. Each item: {"propertyName":"...","operator":"EQ","value":"..."}. Operators: EQ, NEQ, CONTAINS_TOKEN, NOT_CONTAINS_TOKEN, GT, GTE, LT, LTE, BETWEEN, IN, NOT_IN, HAS_PROPERTY, NOT_HAS_PROPERTY. maxRecordsPerPollstring No Soft cap on records emitted per poll (default 50, max 1000). Excess rolls over to the next poll.
Parameter Type Description objectTypestring HubSpot object type (contact, company, deal, ticket, custom object id, or list_membership) eventTypestring Event type (created, updated, property_changed, or joined) objectIdstring HubSpot ID of the affected record (or contact id for list memberships) occurredAtstring ISO timestamp of when the change happened in HubSpot propertiesjson HubSpot properties on the record as a key-value object (property internal name → value). Default keys per object type (override via "Properties to Fetch"): Contact → firstname, lastname, email, phone, company, lifecyclestage, hs_lead_status, hubspot_owner_id, createdate, lastmodifieddate. Company → name, domain, industry, lifecyclestage, hubspot_owner_id, createdate, hs_lastmodifieddate. Deal → dealname, amount, dealstage, pipeline, closedate, hubspot_owner_id, createdate, hs_lastmodifieddate. Ticket → subject, content, hs_pipeline, hs_pipeline_stage, hs_ticket_priority, hubspot_owner_id, createdate, hs_lastmodifieddate. Custom and user-requested properties appear keyed by their HubSpot internal name. createdAtstring ISO timestamp when the record was created in HubSpot updatedAtstring ISO timestamp when the record was last updated in HubSpot archivedboolean Whether the record is archived propertyNamestring Name of the property that changed (property_changed events only) propertyValuestring New value of the changed property (property_changed events only) previousValuestring Previous value before the change (property_changed events only) listIdstring HubSpot list ID (list_membership events only) timestampstring ISO timestamp when Sim emitted the event