I am looking for a way to fetch Notes using the HubSpot API and get the result as plain text.
I have read the docs and successfully got the response, but it was in HTML format:
<p> my <bold>Note</bold></p>
I am looking for a way to get just the text (I do not mind losing the styling):
The engagements API doesn’t parse out any HTML tags from the note body; any tags/style that are present in the note will be returned in the response. It’s possible to strip the HTML from response using a library/tool (like the striptags NPM module, for example).