# Develop, Build & Integrate

**URL:** https://community.hubspot.com/c/develop-build-integrate/58.md?page=202

[Latest](https://community.hubspot.com/latest.md) · [Categories](https://community.hubspot.com/categories.md) · [Tags](https://community.hubspot.com/tags.md)

**Page:** 203

---

## [Attach file to deal record using API](https://community.hubspot.com/t/attach-file-to-deal-record-using-api/69500)

<div class="topic-metadata">

**Author:** [@SSharma043](https://community.hubspot.com/u/SSharma043)\
**Replies:** 10\
**Last updated:** [June 3, 2024, 5:52pm UTC](https://community.hubspot.com/t/attach-file-to-deal-record-using-api/69500 "2024-06-03T17:52:26Z")

</div>

I have uploaded File in Hubspot using API. Now I want attach that to deal record using API How can I do it Please Help!! I’ve attached screenshots for refrence This file I want to attach to deal record Here I…

---

## [Associating a conversation to ticket](https://community.hubspot.com/t/associating-a-conversation-to-ticket/108218)

<div class="topic-metadata">

**Author:** [@MAsghari](https://community.hubspot.com/u/MAsghari)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 5:43pm UTC](https://community.hubspot.com/t/associating-a-conversation-to-ticket/108218 "2024-06-03T17:43:55Z")

</div>

Hi There! I used this API to associate a covnersation to a ticket: /crm/v4/objects/:objectType/:objectId/associations/:toObjectType/:toObjectId objectType: ticket objectId: \<ticket id\> toObjectType: conversation to…

---

## [Legacy CTA Sunset Timeline and Scope Update](https://community.hubspot.com/t/legacy-cta-sunset-timeline-and-scope-update/104213)

<div class="topic-metadata">

**Author:** [@hseligson](https://community.hubspot.com/u/hseligson)\
**Replies:** 4\
**Last updated:** [June 3, 2024, 5:30pm UTC](https://community.hubspot.com/t/legacy-cta-sunset-timeline-and-scope-update/104213 "2024-06-03T17:30:19Z")

</div>

Previous Sunset Start: April 30, 2024 Revised Sunset Start: November 30, 2025 Attention: We’ve recently revised our timeline on March 25th, 2025. For the most current details regarding this change, please check the lat…

---

## [Getting Threaded Comments from Notes Programmatically](https://community.hubspot.com/t/getting-threaded-comments-from-notes-programmatically/108434)

<div class="topic-metadata">

**Author:** [@PHoang2](https://community.hubspot.com/u/PHoang2)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 5:27pm UTC](https://community.hubspot.com/t/getting-threaded-comments-from-notes-programmatically/108434 "2024-06-03T17:27:03Z")

</div>

Hey all, I am trying to find a way to extract the threaded comments associated with each notes using the available APIs (see attached). What I’ve tried so far: Finding deals and their associated notes is a straightf…

---

## [Get historical data for deal stages](https://community.hubspot.com/t/get-historical-data-for-deal-stages/108471)

<div class="topic-metadata">

**Author:** [@NSharma76](https://community.hubspot.com/u/NSharma76)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 5:12pm UTC](https://community.hubspot.com/t/get-historical-data-for-deal-stages/108471 "2024-06-03T17:12:59Z")

</div>

I want to get the history of all the stages of the deals. For example when the deal went from 1 stage to another. This I want for all the stages the deal underwent along withh the date

---

## [API: Get Contact Properties for a single Contact](https://community.hubspot.com/t/api-get-contact-properties-for-a-single-contact/15122)

<div class="topic-metadata">

**Author:** [@RonWor](https://community.hubspot.com/u/RonWor)\
**Replies:** 4\
**Last updated:** [June 3, 2024, 5:04pm UTC](https://community.hubspot.com/t/api-get-contact-properties-for-a-single-contact/15122 "2024-06-03T17:04:35Z")

</div>

Hi, I am trying to retrieve analytics on contacts via the API. My goal is to retrieve the follow data about a contact: Average page views First page seen First referring site Last page seen Last referring site Nu…

---

## [Change Wording on Meeting Scheduler Page](https://community.hubspot.com/t/change-wording-on-meeting-scheduler-page/108437)

<div class="topic-metadata">

**Author:** [@Peter\_vanderLee](https://community.hubspot.com/u/Peter_vanderLee)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 3:29pm UTC](https://community.hubspot.com/t/change-wording-on-meeting-scheduler-page/108437 "2024-06-03T15:29:01Z")

</div>

On the scheduling page, where it says “Showing times for Date”, I am a realtor and this language is confusing, it sounds like I am booking home showings. I need this to say Appointment times for Date, I’m sure many HubSp…

---

## [Access to XMLHttpRequest blocked by CORS policy](https://community.hubspot.com/t/access-to-xmlhttprequest-blocked-by-cors-policy/41313)

<div class="topic-metadata">

**Author:** [@sdeveloper](https://community.hubspot.com/u/sdeveloper)\
**Replies:** 8\
**Last updated:** [June 3, 2024, 2:42pm UTC](https://community.hubspot.com/t/access-to-xmlhttprequest-blocked-by-cors-policy/41313 "2024-06-03T14:42:14Z")

</div>

Hi everyone, I’m currently in the process of making a custom form module that essentially takes the input from the form on submit, and sends an API POST request using the input that the user has submitted. The problem …

---

## [How to create new Contacts via Tracking API, but limit to certain pages?](https://community.hubspot.com/t/how-to-create-new-contacts-via-tracking-api-but-limit-to-certain-pages/107351)

<div class="topic-metadata">

**Author:** [@Mvs](https://community.hubspot.com/u/Mvs)\
**Replies:** 3\
**Last updated:** [June 3, 2024, 2:33pm UTC](https://community.hubspot.com/t/how-to-create-new-contacts-via-tracking-api-but-limit-to-certain-pages/107351 "2024-06-03T14:33:31Z")

</div>

Hi all, I have some questions about the tracking API and I would greatly appreciate your help. I’m not a developer, but I’d like to understand this as well as I can, so I know exactly what to ask our dev team. We have…

---

## [How to perform CRUD over HubDB?](https://community.hubspot.com/t/how-to-perform-crud-over-hubdb/108483)

<div class="topic-metadata">

**Author:** [@EOrlov](https://community.hubspot.com/u/EOrlov)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 1:57pm UTC](https://community.hubspot.com/t/how-to-perform-crud-over-hubdb/108483 "2024-06-03T13:57:03Z")

</div>

What are ways to perform CRUD operations over HubDB? I’m interesting in any way: custom files, third-party products.

---

## [PRM softwares integrated with HubSpot](https://community.hubspot.com/t/prm-softwares-integrated-with-hubspot/49470)

<div class="topic-metadata">

**Author:** [@SHorvath](https://community.hubspot.com/u/SHorvath)\
**Replies:** 3\
**Last updated:** [June 3, 2024, 1:53pm UTC](https://community.hubspot.com/t/prm-softwares-integrated-with-hubspot/49470 "2024-06-03T13:53:08Z")

</div>

Hi All, We are building our partnership network within our company, and we’d like to support our processes by a PRM system. Since we use HubSport for CRM activities, it would make things easier if we could find a PRM tha…

---

## [Chatflow tracking embed code (VAR) for Canvas Instructure LMS](https://community.hubspot.com/t/chatflow-tracking-embed-code-var-for-canvas-instructure-lms/46687)

<div class="topic-metadata">

**Author:** [@Rongen](https://community.hubspot.com/u/Rongen)\
**Replies:** 5\
**Last updated:** [June 2, 2024, 4:38pm UTC](https://community.hubspot.com/t/chatflow-tracking-embed-code-var-for-canvas-instructure-lms/46687 "2024-06-02T16:38:20Z")

</div>

Hi, can anyone help me customise our Hubspot tracking code to change to VAR? Our LMS doesn’t accept script type. Example of what we’re using now via Zoho SalesIQ. We are now migrating to Hubspot. var $zoho=$zoho …

---

## [file de-duplication not working as expected](https://community.hubspot.com/t/file-de-duplication-not-working-as-expected/108369)

<div class="topic-metadata">

**Author:** [@Georg\_1](https://community.hubspot.com/u/Georg_1)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 11:06pm UTC](https://community.hubspot.com/t/file-de-duplication-not-working-as-expected/108369 "2024-05-31T23:06:23Z")

</div>

Hello, at the moment we prepare the change from our old CRM system to HubSpot. For that I have to import a lot of notes with attachments into HubSpot. I use the API. Just now I noticed a strange behavior in connection w…

---

## [Email rendering in PC is different to outlook](https://community.hubspot.com/t/email-rendering-in-pc-is-different-to-outlook/108385)

<div class="topic-metadata">

**Author:** [@DRathnam](https://community.hubspot.com/u/DRathnam)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 10:56pm UTC](https://community.hubspot.com/t/email-rendering-in-pc-is-different-to-outlook/108385 "2024-05-31T22:56:58Z")

</div>

How can I correct this? This CTA button looks like this on PC, Mac view is working correctly.

---

## [Webhook Response into Enumeration](https://community.hubspot.com/t/webhook-response-into-enumeration/108221)

<div class="topic-metadata">

**Author:** [@JTannenbaum](https://community.hubspot.com/u/JTannenbaum)\
**Replies:** 6\
**Last updated:** [May 31, 2024, 10:31pm UTC](https://community.hubspot.com/t/webhook-response-into-enumeration/108221 "2024-05-31T22:31:20Z")

</div>

Hey all, I have an automation that uses a webhook to fire a GET request to an API. The response I get back contains a response body with something like this: "TotalProductNames":";PRODUCT1;PRODUCT2;PRODUCT3" I can use…

---

## [Remove a user from a primary or secondary team via API](https://community.hubspot.com/t/remove-a-user-from-a-primary-or-secondary-team-via-api/52454)

<div class="topic-metadata">

**Author:** [@KDunn2](https://community.hubspot.com/u/KDunn2)\
**Replies:** 9\
**Last updated:** [May 31, 2024, 10:19pm UTC](https://community.hubspot.com/t/remove-a-user-from-a-primary-or-secondary-team-via-api/52454 "2024-05-31T22:19:31Z")

</div>

I know how to add/change a users primaryTeamId via API & I know how to add a team ID to the secondaryTeamIds via the API, but I can’t seem to remove them. Is there something I’m missing?

---

## [Bad Request with simple, bodyless GET request](https://community.hubspot.com/t/bad-request-with-simple-bodyless-get-request/108334)

<div class="topic-metadata">

**Author:** [@GJakobTriad](https://community.hubspot.com/u/GJakobTriad)\
**Replies:** 2\
**Last updated:** [May 31, 2024, 6:32pm UTC](https://community.hubspot.com/t/bad-request-with-simple-bodyless-get-request/108334 "2024-05-31T18:32:05Z")

</div>

Trying to come up with a workflow custom code action, and this one starts off pretty simple, but for some reason it returns a 400 error. const hubspot = require('@hubspot/api-client'); exports.main = async (event, call…

---

## [Update HubDB automatically based on Company property?](https://community.hubspot.com/t/update-hubdb-automatically-based-on-company-property/108318)

<div class="topic-metadata">

**Author:** [@CDollarhide](https://community.hubspot.com/u/CDollarhide)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 1:20pm UTC](https://community.hubspot.com/t/update-hubdb-automatically-based-on-company-property/108318 "2024-05-31T13:20:56Z")

</div>

Hi! I have a HubDB which holds basic company info like name and address of all our clients. We use the HubDB to display a map on our webpage of our client’s business locations. Currently it is static. Is there a way to s…

---

## [Accidentally linked to shopify and need to revert my shopify customers](https://community.hubspot.com/t/accidentally-linked-to-shopify-and-need-to-revert-my-shopify-customers/108346)

<div class="topic-metadata">

**Author:** [@DieselDudes](https://community.hubspot.com/u/DieselDudes)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 1:04pm UTC](https://community.hubspot.com/t/accidentally-linked-to-shopify-and-need-to-revert-my-shopify-customers/108346 "2024-05-31T13:04:17Z")

</div>

I linked my shopify to my hubspot and then in that process I selected the option for Hubspot to be able to change my customer information and didn’t realize it until it was already too late. I was told there may be a way…

---

## [Subtitle change on SERP](https://community.hubspot.com/t/subtitle-change-on-serp/108386)

<div class="topic-metadata">

**Author:** [@LBassCooper](https://community.hubspot.com/u/LBassCooper)\
**Replies:** 2\
**Last updated:** [May 31, 2024, 12:52pm UTC](https://community.hubspot.com/t/subtitle-change-on-serp/108386 "2024-05-31T12:52:57Z")

</div>

I have an urgent issue that I need to resolve on my search results page on Google. I have a junior developer recommended by HubSpot that worked to create a custom site a month ago. But recently, I noticed this subtitle i…

---

## [How do I get the Company ID by searching by Company name?](https://community.hubspot.com/t/how-do-i-get-the-company-id-by-searching-by-company-name/105788)

<div class="topic-metadata">

**Author:** [@Bronette](https://community.hubspot.com/u/Bronette)\
**Replies:** 4\
**Last updated:** [May 31, 2024, 4:30am UTC](https://community.hubspot.com/t/how-do-i-get-the-company-id-by-searching-by-company-name/105788 "2024-05-31T04:30:55Z")

</div>

I’m trying to get a Company Id via searching by Company name via so I can add Company engagement notes however; when I query the companies search object API via the name, it just returns individual contact objects for th…

---

## [API v3 company search](https://community.hubspot.com/t/api-v3-company-search/99312)

<div class="topic-metadata">

**Author:** [@newera](https://community.hubspot.com/u/newera)\
**Replies:** 3\
**Last updated:** [May 31, 2024, 4:06am UTC](https://community.hubspot.com/t/api-v3-company-search/99312 "2024-05-31T04:06:31Z")

</div>

Hi, I wonder if there is a way to search for more than 1 company at a time with https://api.hubapi.com/crm/v3/objects/companies/search I have tried with one which works filterGroups: \[ { filters: \[ { propertyName…

---

## [What's the best way to handle HubDB references in CLI upload/fetch](https://community.hubspot.com/t/whats-the-best-way-to-handle-hubdb-references-in-cli-upload-fetch/108171)

<div class="topic-metadata">

**Author:** [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 11:21pm UTC](https://community.hubspot.com/t/whats-the-best-way-to-handle-hubdb-references-in-cli-upload-fetch/108171 "2024-05-30T23:21:39Z")

</div>

I’ve had this happen a number of times where I want to copy a clients theme to a sandbox portal but any module that references a HubDB table will throw up an error and won’t upload completely to the new portal. This hap…

---

## [CRM Card Private App - Closed By Default?](https://community.hubspot.com/t/crm-card-private-app-closed-by-default/105354)

<div class="topic-metadata">

**Author:** [@MarkBroomell](https://community.hubspot.com/u/MarkBroomell)\
**Replies:** 5\
**Last updated:** [May 30, 2024, 8:25pm UTC](https://community.hubspot.com/t/crm-card-private-app-closed-by-default/105354 "2024-05-30T20:25:45Z")

</div>

Hello all, It’s as the subject says. I’ve created a CRM card extension within a Private App and it’s working perfectly, but because the extension requires initial API calls on load, I’d prefer this card be closed by def…

---

## [Endpint or API That Count Custom Records.](https://community.hubspot.com/t/endpint-or-api-that-count-custom-records/108264)

<div class="topic-metadata">

**Author:** [@LFaderon](https://community.hubspot.com/u/LFaderon)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 6:02pm UTC](https://community.hubspot.com/t/endpint-or-api-that-count-custom-records/108264 "2024-05-30T18:02:11Z")

</div>

Is there any API / Endpoint that counts custom object or records that we can run on curl or node for us to monitor how many records / objects that we have already. This one don’t show total items on result: https://api.…

---

## [Justified Text](https://community.hubspot.com/t/justified-text/108249)

<div class="topic-metadata">

**Author:** [@LParryLRP](https://community.hubspot.com/u/LParryLRP)\
**Replies:** 4\
**Last updated:** [May 30, 2024, 5:16pm UTC](https://community.hubspot.com/t/justified-text/108249 "2024-05-30T17:16:31Z")

</div>

Hi there has been a recent change to Hubspot and all text using the Rich Text widget, and coded as “text-align: left” is being justified when sent. How do we fix this?!?!? We do not want our text to be justified, or word…

---

## [change parent company id](https://community.hubspot.com/t/change-parent-company-id/108266)

<div class="topic-metadata">

**Author:** [@vagder](https://community.hubspot.com/u/vagder)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 4:03pm UTC](https://community.hubspot.com/t/change-parent-company-id/108266 "2024-05-30T16:03:02Z")

</div>

Hi to all. Is possible to change the hs\_parent\_company\_id property from rest calls? i received an error hs\_parent\_company\_id\\\\\\" is a read only property; its value cannot be set.\\",\\“error\\”:\\"READ\_ONLY\_VALUE

---

## [Exporting Notes](https://community.hubspot.com/t/exporting-notes/8235)

<div class="topic-metadata">

**Author:** [@Spfeffer](https://community.hubspot.com/u/Spfeffer)\
**Replies:** 11\
**Last updated:** [May 30, 2024, 3:57pm UTC](https://community.hubspot.com/t/exporting-notes/8235 "2024-05-30T15:57:27Z")

</div>

Is there a way to export notes/tasks, etc. from Hubspot? I know you can export the column of properties, but can I also extract the notes? Thank you! Stacie

---

## [How to set Record Id in the background so that we won't get duplicate records when form is submitted](https://community.hubspot.com/t/how-to-set-record-id-in-the-background-so-that-we-wont-get-duplicate-records-when-form-is-submitted/108203)

<div class="topic-metadata">

**Author:** [@AM7777](https://community.hubspot.com/u/AM7777)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 3:02pm UTC](https://community.hubspot.com/t/how-to-set-record-id-in-the-background-so-that-we-wont-get-duplicate-records-when-form-is-submitted/108203 "2024-05-30T15:02:45Z")

</div>

Hi, We have two forms: Application and Pre-Survey, and their properties are mapped to a custom object program participant lifecycle and a contact object. When the user submits the application form, it creates a new cont…

---

## [Creating "Phone number" custom property doesn't work via API](https://community.hubspot.com/t/creating-phone-number-custom-property-doesnt-work-via-api/89632)

<div class="topic-metadata">

**Author:** [@Sachavskyi](https://community.hubspot.com/u/Sachavskyi)\
**Replies:** 6\
**Last updated:** [May 30, 2024, 9:04am UTC](https://community.hubspot.com/t/creating-phone-number-custom-property-doesnt-work-via-api/89632 "2024-05-30T09:04:35Z")

</div>

Can’t create “Phone number” custom property via API. My request: { "label": "custom\_phone22", "name": "custom\_phone", "entity": "contacts", "groupName": "contactinformation", "formField": true, "type": "string", …

[Previous page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=201)

[Next page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=203)
