Bulk export of comments attached to HubSpot Ticket Notes – is there a supported API or extraction me

Subject: Bulk export of comments attached to HubSpot Ticket Notes – is there a supported API or extraction method?

Hi everyone,

I’m trying to find a way to extract historical ticket information from HubSpot.

We have approximately 11,250 tickets across two support pipelines, potentially containing up to 170,000 comments, although that figure is unverified.

We can already export the tickets and associated notes, but the really valuable information is in the comments underneath those notes. This is where discussions take place, problems are investigated and answers are developed.

We’ve confirmed through browser Developer Tools that expanding a comment thread returns structured JSON, including comment IDs, parent note IDs, message content, author references and timestamps.

We’re looking for a one-time extraction that preserves the relationship:

Ticket ID → Note ID → Comment ID → Comment text

Historically, we’ve relied on a third-party provider for HubSpot support, but the cost quoted for this extraction is significant. I’m trying to establish whether there’s a simpler way to retrieve the data ourselves.

My questions are:

  1. Is there a supported API or export method for retrieving comments attached to CRM notes?

  2. Can HubSpot provide a one-time export of this information?

  3. If neither is available, is an automated, read-only extraction through an authorised browser session permitted?

We’re not looking for a complicated integration or ongoing synchronisation. We simply want to retrieve the historical information once, ideally in CSV or JSON format.

Any guidance would be greatly appreciated.

Thanks,
Jeff

Hi Jeff,

Going through your three questions:

1. Supported API: as far as I know, no. The public CRM APIs return tickets and notes (and their associations), but the comment threads under notes aren’t exposed. So what you’ve exported already is about the limit of the supported route.

2. One-time export from HubSpot: worth asking support or your account manager directly. If they can do it, that’s the cleanest path. I wouldn’t count on it, though.

3. Read-only extraction through an authorized session: technically it’s straightforward, since you’ve already found that expanding a thread returns structured JSON with comment ID, parent note ID, body, author and timestamp. Whether it’s permitted under your HubSpot agreement is a question for HubSpot, not something I’d assume. If you get the green light (or decide it’s acceptable for a one-time, read-only pull of your own data), this is how I’d do it:

- Take your existing ticket + note export as the input list.

- For each note, request the same comment endpoint the UI calls, using your logged-in session, slowly (rate-limited) so it looks like normal use.

- Write one CSV/JSON with: ticket ID, note ID, comment ID, author, timestamp, comment text.

- Re-check counts per ticket, so you know nothing was skipped.

If it helps, I can do this for you at a fixed price, two ways:

- Script only: I write the script and a short guide; you run it on your machine, so your credentials never leave your hands. US$ 250.

- Done for you: I run it with you on a call (your session, your machine) and deliver the files. US$450.

Either way, I’d start with a free proof on ~50 tickets so you can see the output, and you pay only after you’ve checked the full file.

Vinicius