All docs
HubSpot setup
Credential: Service key
The HubSpot connector writes blog posts to a HubSpot blog through the CMS Blog Posts API. Posts are drafts by default. You need Content Hub (or a HubSpot plan that includes the blog).
Step 1 - create a service key
A super admin, or a user with Developer tools access, does this:
-
In HubSpot, go to Development → Keys → Service keys.
-
Click Create service key and name it
BirchSeek. -
Click Add new scope, select these two scopes, and click Update:
Scope Used for contentBlogs, posts, tags and authors filesUploading images to the File Manager -
Click Create, then open the key and copy it. It starts with
pat-.
A token of a legacy private app with the same two scopes also works. HubSpot does not let you create new legacy private apps.
Step 2 - connect in BirchSeek
| Setting | Meaning |
|---|---|
| Service key | The key from step 1 |
| Blog id | Optional. Leave it empty if the account has one blog |
| Author id | The blog author of each post. Required for the status Published |
| Post status | Draft (default) or Published. Applies when BirchSeek creates a post |
Step 3 - send a test
Send a test reads your blogs and your blog authors. When the account has one blog, the test stores its id. When it has more, the test names each blog and its id: copy one into Blog id and test again. The test result also lists the author ids.
The test writes nothing. When the key cannot read the File Manager, the test says so: add the files scope, or images link to BirchSeek’s copies.
What BirchSeek writes
Per article, through POST /cms/blogs/2026-09/posts:
name(the title),slug,postBody(the article as HTML, without the title heading, because your blog template shows the title)htmlTitle(meta title),metaDescriptionandpostSummary(meta description)featuredImageandfeaturedImageAltText: the featured image, uploaded to the File Manager folder/birchseektagIds: your article’s tags, found by name or createdblogAuthorId: the author id you set, or the blog author whose name is your project’s bylineheadHtml: the article’s JSON-LD and a tag that records which BirchSeek article the post is
In-article images are uploaded to the same folder, and the body links to the uploaded copies. An image that fails to upload links to BirchSeek’s copy.
The body ends with the ## Sources block. See Sources and citations.
Head HTML
BirchSeek replaces each post’s Head HTML on every publish. Keep other head code for these posts in your blog template.
Updates
A refresh updates the same post. The update never changes the post’s status or its URL. BirchSeek finds the post by the id of its last publish, then by the slug in your blog. It updates a post only when the post’s Head HTML has the tag for this article. A post with the same slug that BirchSeek did not write stops the publish with an error.
Scheduling
BirchSeek’s calendar times each publish. BirchSeek does not use HubSpot’s scheduling.
Troubleshooting
401: the key is wrong or rotated. Copy the current key from Service keys.403 MISSING_SCOPES: the key does not havecontent(posts) orfiles(images). Edit the key’s scopes.- More than one blog: enter the blog id from the test result.
- Post stays a draft with status Published: HubSpot needs an author, a meta description and a featured image (or no image) to publish. Set the author id.