# \#python

**URL:** https://community.hubspot.com/tag/python/33.md

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

---

## [Is HubSpot dropping support for their Python SDK?](https://community.hubspot.com/t/is-hubspot-dropping-support-for-their-python-sdk/157108)

<div class="topic-metadata">

**Author:** [@mdr2024](https://community.hubspot.com/u/mdr2024)\
**Replies:** 1\
**Last updated:** [August 26, 2026, 6:39am UTC](https://community.hubspot.com/t/is-hubspot-dropping-support-for-their-python-sdk/157108 "2026-08-26T06:39:49Z")

</div>

Python 3.14 became available recently in Workflow custom codes, but I noticed it can’t run my scripts using their Python SDK.…

---

## [Custom property not returned in list contacts endpoint but present in get by id endpoint](https://community.hubspot.com/t/custom-property-not-returned-in-list-contacts-endpoint-but-present-in-get-by-id-endpoint/155237)

<div class="topic-metadata">

**Author:** [@Chmic](https://community.hubspot.com/u/Chmic)\
**Replies:** 5\
**Last updated:** [August 17, 2026, 7:55am UTC](https://community.hubspot.com/t/custom-property-not-returned-in-list-contacts-endpoint-but-present-in-get-by-id-endpoint/155237 "2026-08-17T07:55:29Z")

</div>

Hi, I’m encountering some strange behaviour attempting to get data from a custom property on the contact object. Using the h…

---

## [How do you safely test HubSpot data integrations without affecting production?](https://community.hubspot.com/t/how-do-you-safely-test-hubspot-data-integrations-without-affecting-production/134779)

<div class="topic-metadata">

**Author:** [@MvanMaasakkers](https://community.hubspot.com/u/MvanMaasakkers)\
**Replies:** 3\
**Last updated:** [May 13, 2026, 12:53pm UTC](https://community.hubspot.com/t/how-do-you-safely-test-hubspot-data-integrations-without-affecting-production/134779 "2026-05-13T12:53:04Z")

</div>

Hi everyone, I have a software engineering background and I’m currently working on data pipelines that integrate with HubSpot — for example, pushing contact or deal data using the official Python SDK. One of the challe…

---

## [Files API Signed URL Encoding Issue](https://community.hubspot.com/t/files-api-signed-url-encoding-issue/149164)

<div class="topic-metadata">

**Author:** [@ncrossen](https://community.hubspot.com/u/ncrossen)\
**Replies:** 8\
**Last updated:** [May 8, 2026, 11:29pm UTC](https://community.hubspot.com/t/files-api-signed-url-encoding-issue/149164 "2026-05-08T23:29:50Z")

</div>

I’m using the files\_api to get a signed url. This works when the signed url does not contain an encoded comma (%2c). I receive a 404 error whenever the file url does contain this encoded comma. How can I work around thi…

---

## [HubSpot API (Private App) – "Authentication credentials not found" error](https://community.hubspot.com/t/hubspot-api-private-app-authentication-credentials-not-found-error/148187)

<div class="topic-metadata">

**Author:** [@YamilAli2](https://community.hubspot.com/u/YamilAli2)\
**Replies:** 3\
**Last updated:** [April 10, 2026, 5:42pm UTC](https://community.hubspot.com/t/hubspot-api-private-app-authentication-credentials-not-found-error/148187 "2026-04-10T17:42:39Z")

</div>

Hi! I’m trying to test the HubSpot API by making the following request with a Python script: import requests url = "https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=false" headers = {“authorization”: …

---

## [Enrolling contact into workflow with API gives error parsing workflowID](https://community.hubspot.com/t/enrolling-contact-into-workflow-with-api-gives-error-parsing-workflowid/147617)

<div class="topic-metadata">

**Author:** [@JasonJay](https://community.hubspot.com/u/JasonJay)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 9:23pm UTC](https://community.hubspot.com/t/enrolling-contact-into-workflow-with-api-gives-error-parsing-workflowid/147617 "2026-03-24T21:23:57Z")

</div>

I’m using the v2 workflows API. The code I’m using is effectively a clone of the code in the documentations - Accounts Dashboard | HubSpot Here’s the response 400 response I’m getting: “Unable to parse value for path pa…

---

## [Label Associations: POST /crm/v4/associations/{from}/{to}/labels returns 500](https://community.hubspot.com/t/label-associations-post-crm-v4-associations-from-to-labels-returns-500/145233)

<div class="topic-metadata">

**Author:** [@EdoardoP](https://community.hubspot.com/u/EdoardoP)\
**Replies:** 4\
**Last updated:** [January 22, 2026, 3:07pm UTC](https://community.hubspot.com/t/label-associations-post-crm-v4-associations-from-to-labels-returns-500/145233 "2026-01-22T15:07:03Z")

</div>

Hey everyone, I am trying to create custom association labels between a custom object and the Lead object via the v4 API, and I keep getting a 500 internal error. Here’s what I’m doing: POST https://api.hubapi.com/crm…

---

## [Do I need the new Hubspot Developer?](https://community.hubspot.com/t/do-i-need-the-new-hubspot-developer/144745)

<div class="topic-metadata">

**Author:** [@KNguyen0](https://community.hubspot.com/u/KNguyen0)\
**Replies:** 4\
**Last updated:** [January 19, 2026, 5:25pm UTC](https://community.hubspot.com/t/do-i-need-the-new-hubspot-developer/144745 "2026-01-19T17:25:50Z")

</div>

I created several legacy apps- public and private, that allows me to perform API and webhook calls. We use Python for private apps and FastAPI/Flask for public apps Are there any real benefits to upgrading to the real p…

---

## [Scheduler Meetings](https://community.hubspot.com/t/scheduler-meetings/143751)

<div class="topic-metadata">

**Author:** [@ZevThreadly](https://community.hubspot.com/u/ZevThreadly)\
**Replies:** 1\
**Last updated:** [December 5, 2025, 8:01pm UTC](https://community.hubspot.com/t/scheduler-meetings/143751 "2025-12-05T20:01:01Z")

</div>

Background: Threadly is an app for Slack that allows users to broadcast/blast messages to multiple channels at once, and also includes action buttons to drive users towards CTAs, forms, and more. Issue: We’re working on…

---

## [API call by property update date](https://community.hubspot.com/t/api-call-by-property-update-date/100481)

<div class="topic-metadata">

**Author:** [@pruedas](https://community.hubspot.com/u/pruedas)\
**Replies:** 3\
**Last updated:** [October 30, 2025, 5:19pm UTC](https://community.hubspot.com/t/api-call-by-property-update-date/100481 "2025-10-30T17:19:44Z")

</div>

Hello, We would like to ingest the Engagement activities history into our internal BI system. For example, for the calls we would like to display when the status changes (among others changes). Right now, based on the…

---

## [Working example of retrieving associations with the python API](https://community.hubspot.com/t/working-example-of-retrieving-associations-with-the-python-api/82091)

<div class="topic-metadata">

**Author:** [@CDahl1](https://community.hubspot.com/u/CDahl1)\
**Replies:** 11\
**Last updated:** [October 20, 2025, 4:16pm UTC](https://community.hubspot.com/t/working-example-of-retrieving-associations-with-the-python-api/82091 "2025-10-20T16:16:28Z")

</div>

I am trying to find even one example of retrieving associations between companies and contacts using the python API. The closest I’ve come is suggestions to use something like api\_client.crm.associations.batch\_api.read…

---

## [Difference with HubSpot metrics and filters](https://community.hubspot.com/t/difference-with-hubspot-metrics-and-filters/140994)

<div class="topic-metadata">

**Author:** [@PPlaza1](https://community.hubspot.com/u/PPlaza1)\
**Replies:** 2\
**Last updated:** [October 14, 2025, 9:52am UTC](https://community.hubspot.com/t/difference-with-hubspot-metrics-and-filters/140994 "2025-10-14T09:52:06Z")

</div>

I’m trying to recreate de filters used in my reports, but I get minor differences with the tool. I don’t know if this is normal or I’m doing something wrong. It’s not a big difference, but still I would like to understan…

---

## [\[HubSpot API\] Best way to get timestamps for when deals enter specific pipeline stages?](https://community.hubspot.com/t/hubspot-api-best-way-to-get-timestamps-for-when-deals-enter-specific-pipeline-stages/140359)

<div class="topic-metadata">

**Author:** [@PColusse](https://community.hubspot.com/u/PColusse)\
**Replies:** 3\
**Last updated:** [October 1, 2025, 5:14pm UTC](https://community.hubspot.com/t/hubspot-api-best-way-to-get-timestamps-for-when-deals-enter-specific-pipeline-stages/140359 "2025-10-01T17:14:09Z")

</div>

Hello everyone! I need help tracking two specific moments: when a deal enters stage X and when it enters stage Y - exactly these 2 timestamps. I’m using the HubSpot libraries for Python and everything works very well! It…

---

## [My third party service has Oath2 token Authentication](https://community.hubspot.com/t/my-third-party-service-has-oath2-token-authentication/140204)

<div class="topic-metadata">

**Author:** [@ASaliasi](https://community.hubspot.com/u/ASaliasi)\
**Replies:** 7\
**Last updated:** [October 1, 2025, 7:48am UTC](https://community.hubspot.com/t/my-third-party-service-has-oath2-token-authentication/140204 "2025-10-01T07:48:53Z")

</div>

Hello everyone, I need to create a Custom Code project, to integrate with my third party app. Basically, if I have a request, I want to be able to open a Ticket in Hubspot, and then reply to the Hubspot Ticket, and the…

---

## [Issues with consistency in hubspot-api-client](https://community.hubspot.com/t/issues-with-consistency-in-hubspot-api-client/139730)

<div class="topic-metadata">

**Author:** [@JVermunt](https://community.hubspot.com/u/JVermunt)\
**Replies:** 5\
**Last updated:** [September 24, 2025, 2:28pm UTC](https://community.hubspot.com/t/issues-with-consistency-in-hubspot-api-client/139730 "2025-09-24T14:28:47Z")

</div>

When designing custom code interactions with the hubspot API, I chose to use the hubspot-api-client for consistency. I had multiple custom coded functions break because of an update in this package, where the naming con…

---

## [Injecting a message into live chat](https://community.hubspot.com/t/injecting-a-message-into-live-chat/139187)

<div class="topic-metadata">

**Author:** [@JasonK1](https://community.hubspot.com/u/JasonK1)\
**Replies:** 2\
**Last updated:** [September 23, 2025, 3:44pm UTC](https://community.hubspot.com/t/injecting-a-message-into-live-chat/139187 "2025-09-23T15:44:54Z")

</div>

I wrote a workflow to watch for stale live chats, closing them if they are stale for too long, and now I’m trying to figure out how to inject a message (e.g., “Are you still there?”, “I’m closing this chat. Please follow…

---

## [HubSpot Calls API - How to Results to Yesterday Activity Date?](https://community.hubspot.com/t/hubspot-calls-api-how-to-results-to-yesterday-activity-date/103941)

<div class="topic-metadata">

**Author:** [@aaron\_payne](https://community.hubspot.com/u/aaron_payne)\
**Replies:** 3\
**Last updated:** [September 19, 2025, 3:33am UTC](https://community.hubspot.com/t/hubspot-calls-api-how-to-results-to-yesterday-activity-date/103941 "2025-09-19T03:33:35Z")

</div>

Hi there, I am trying to pull all call records from HubSpot from the previous day. I am trying two different end points but am unsure of what the best method is to pull these call records. Endpoints - https://api.huba…

---

## [hubspot\_owner\_id doesn't match owner of company in UI](https://community.hubspot.com/t/hubspot-owner-id-doesnt-match-owner-of-company-in-ui/139190)

<div class="topic-metadata">

**Author:** [@Jopitts](https://community.hubspot.com/u/Jopitts)\
**Replies:** 4\
**Last updated:** [September 8, 2025, 8:04pm UTC](https://community.hubspot.com/t/hubspot-owner-id-doesnt-match-owner-of-company-in-ui/139190 "2025-09-08T20:04:27Z")

</div>

Hi there. Here is some quick background: Using the API I’ve downloaded all the company records for a client. I’ve also downloaded all the users (via the UI) for that same client. I included inactive users. If I check a…

---

## [HubDB rows pagination](https://community.hubspot.com/t/hubdb-rows-pagination/138242)

<div class="topic-metadata">

**Author:** [@ChrisChu](https://community.hubspot.com/u/ChrisChu)\
**Replies:** 2\
**Last updated:** [August 25, 2025, 9:57pm UTC](https://community.hubspot.com/t/hubdb-rows-pagination/138242 "2025-08-25T21:57:38Z")

</div>

I am running into an issue with getting all the rows from HubDB. I am using https://api.hubapi.com/cms/v3/hubdb/tables/{tableid}/rows?limit=100 to get all my table rows. The first call to the API returns total 2473 rows …

---

## [How to download email attachments?](https://community.hubspot.com/t/how-to-download-email-attachments/138432)

<div class="topic-metadata">

**Author:** [@G\_Gorgiladze](https://community.hubspot.com/u/G_Gorgiladze)\
**Replies:** 2\
**Last updated:** [August 25, 2025, 9:09am UTC](https://community.hubspot.com/t/how-to-download-email-attachments/138432 "2025-08-25T09:09:20Z")

</div>

Hello everyone, I’m working on an automation project code that will help us download email attachments from HubSpot to store them locally as well. To summarize the logic, the following functions are supposed to retriev…

---

## [Hubl is not correctly parsing JSON object in email template using send API](https://community.hubspot.com/t/hubl-is-not-correctly-parsing-json-object-in-email-template-using-send-api/64604)

<div class="topic-metadata">

**Author:** [@KTriviso](https://community.hubspot.com/u/KTriviso)\
**Replies:** 9\
**Last updated:** [July 22, 2025, 8:42am UTC](https://community.hubspot.com/t/hubl-is-not-correctly-parsing-json-object-in-email-template-using-send-api/64604 "2025-07-22T08:42:47Z")

</div>

Hi, I am trying to send a custom payload to an email template but Hubl will not correctly parse the object so that I can map over the data. I have tried sending my custom payload (languages) as a string and as an array …

---

## [Custom object association stopped working](https://community.hubspot.com/t/custom-object-association-stopped-working/136191)

<div class="topic-metadata">

**Author:** [@km\_compiler](https://community.hubspot.com/u/km_compiler)\
**Replies:** 2\
**Last updated:** [July 14, 2025, 9:29pm UTC](https://community.hubspot.com/t/custom-object-association-stopped-working/136191 "2025-07-14T21:29:22Z")

</div>

I have an automated process that uses the Notes API to read notes from HubSpot and sync with an external system. This has been running and working for over a year with no issues/changes. Last week (July 10, approx 6:45 a…

---

## [Response API with SDK hubspot-api-client==11.1.0](https://community.hubspot.com/t/response-api-with-sdk-hubspot-api-client-11-1-0/136021)

<div class="topic-metadata">

**Author:** [@MMojica0](https://community.hubspot.com/u/MMojica0)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 10:41pm UTC](https://community.hubspot.com/t/response-api-with-sdk-hubspot-api-client-11-1-0/136021 "2025-07-10T22:41:20Z")

</div>

The response time is very large when we create associations with custom object. The issue begins today last day the response was “OK”.

---

## [How can I subscribe custom object webhook events?](https://community.hubspot.com/t/how-can-i-subscribe-custom-object-webhook-events/34158)

<div class="topic-metadata">

**Author:** [@JZhao](https://community.hubspot.com/u/JZhao)\
**Replies:** 13\
**Last updated:** [July 10, 2025, 8:06pm UTC](https://community.hubspot.com/t/how-can-i-subscribe-custom-object-webhook-events/34158 "2025-07-10T20:06:15Z")

</div>

I created a few custom objects and installed an app. I’d like to subscribe webhook events on these objects. But in below configuration, it doesn’t show custom objects. How can I subscribe to custom object events? Create…

---

## [Can't publish a quote using custom coded action in a workflow](https://community.hubspot.com/t/cant-publish-a-quote-using-custom-coded-action-in-a-workflow/119720)

<div class="topic-metadata">

**Author:** [@EWood-Malloy](https://community.hubspot.com/u/EWood-Malloy)\
**Replies:** 8\
**Last updated:** [July 3, 2025, 11:27am UTC](https://community.hubspot.com/t/cant-publish-a-quote-using-custom-coded-action-in-a-workflow/119720 "2025-07-03T11:27:05Z")

</div>

Morning! We are currently scoping out the possibility of automating quote generation for some of our accounts. I have code that 1. creates a new quote in draft state and adds in - the title, status, expiration date, l…

---

## [Primary Label Workflow Won't Branch Properly](https://community.hubspot.com/t/primary-label-workflow-wont-branch-properly/135314)

<div class="topic-metadata">

**Author:** [@RPerez14](https://community.hubspot.com/u/RPerez14)\
**Replies:** 1\
**Last updated:** [June 27, 2025, 11:58am UTC](https://community.hubspot.com/t/primary-label-workflow-wont-branch-properly/135314 "2025-06-27T11:58:09Z")

</div>

I’m creating a workflow that checks whether a deal has a primary company label or not, and then it adds the deals to an active list to be manually reviewed. When I run test cases through the workflow, they all move throu…

---

## [Cannot read or upsert records for custom object via Hubspot APIs](https://community.hubspot.com/t/cannot-read-or-upsert-records-for-custom-object-via-hubspot-apis/129453)

<div class="topic-metadata">

**Author:** [@JerikaNguyen](https://community.hubspot.com/u/JerikaNguyen)\
**Replies:** 1\
**Last updated:** [June 27, 2025, 6:24am UTC](https://community.hubspot.com/t/cannot-read-or-upsert-records-for-custom-object-via-hubspot-apis/129453 "2025-06-27T06:24:14Z")

</div>

Hi, I created a custom object with internal name = “gridly\_objects” I read all Hubspot developer docs, and I could successfully make Hubspot API request such as /crm/v3/schemas/{objectTypeId} /crm/v3/schemas/p\_{object…

---

## [Associate deal to company using unique property (not hs\_company\_id) via API v4](https://community.hubspot.com/t/associate-deal-to-company-using-unique-property-not-hs-company-id-via-api-v4/134878)

<div class="topic-metadata">

**Author:** [@GDiMaiolo](https://community.hubspot.com/u/GDiMaiolo)\
**Replies:** 3\
**Last updated:** [June 23, 2025, 6:22am UTC](https://community.hubspot.com/t/associate-deal-to-company-using-unique-property-not-hs-company-id-via-api-v4/134878 "2025-06-23T06:22:03Z")

</div>

I’m using the following endpoint to create associations between objects: ruby CopierModifier https://api.hubapi.com/crm/v4/associations/deals/companies/batch/create I’m trying to associate deals to companies, but ins…

---

## [Product to Line item association](https://community.hubspot.com/t/product-to-line-item-association/101942)

<div class="topic-metadata">

**Author:** [@G\_Gorgiladze](https://community.hubspot.com/u/G_Gorgiladze)\
**Replies:** 3\
**Last updated:** [June 11, 2025, 8:37pm UTC](https://community.hubspot.com/t/product-to-line-item-association/101942 "2025-06-11T20:37:13Z")

</div>

Hello, I’m new to the platform and have a little problem with line item associations. As I understand, line items get associations to the specific product automatically when they are created, don’t they? But when I’m tr…

---

## [Marketing emails api endpoint](https://community.hubspot.com/t/marketing-emails-api-endpoint/133176)

<div class="topic-metadata">

**Author:** [@LF\_Ruiz](https://community.hubspot.com/u/LF_Ruiz)\
**Replies:** 5\
**Last updated:** [June 11, 2025, 3:06pm UTC](https://community.hubspot.com/t/marketing-emails-api-endpoint/133176 "2025-06-11T15:06:17Z")

</div>

Hello, We are working with python and HubSpot API, using both the hubspot api library for python and the requests library depending on the endpoint we are using. We have found a roadblock trying to retrieve the marketi…

[Next page](https://community.hubspot.com/tag/python/33.md?match_all_tags=true&page=1&tags%5B%5D=python)
