HubSpot API access for Nina
Nina writes your blog posts, sources the images, and publishes them into your HubSpot blog. This page is the exact setup for the credential that makes that possible, including the tier check worth doing before you start and the menu HubSpot recently renamed.
Check your tier first
HubSpot is the one platform where your plan, not your settings, decides whether this is possible at all. Two minutes here saves you ten minutes of setup that cannot work.
| Your HubSpot plan | Has a blog | Can Nina publish to it |
|---|---|---|
| Content Hub Professional or Enterprise | Yes | Yes |
| Marketing Hub Professional or Enterprise | Yes | Yes |
| Content Hub Starter | Yes | Yes. HubSpot’s blog API lists Content Hub Starter as a supported tier. If you want certainty before setting anything up, the check in section 5 confirms it in about thirty seconds. |
| Marketing Hub Starter, or free tools only | Yes, with HubSpot branding | No. The blog exists but the API that writes to it is not included at this tier. |
A separate thing worth checking while you are here. If your blog still sits on a HubSpot system domain, something ending in hs-sites.com, search engines credit that traffic to HubSpot’s domain rather than yours. HubSpot says so themselves. Connect your own domain under Settings › Content › Domains & URLs before starting a content programme, or most of the value leaks away regardless of who writes the posts.
What Nina needs, and why
HubSpot grants API access as named scopes on a private app you create. Nina needs exactly two.
contentfiles| Scope | What it unlocks | Why Nina needs it |
|---|---|---|
content | Blog posts, blog authors, tags and blog settings | The core of the job. Reading your blogs and existing posts, creating the post, setting its author and tags, and publishing it. |
files | Upload to the File Manager | Every post ships with a licensed image. It has to live in your File Manager so it is served from your own HubSpot CDN, not hotlinked from us. |
Read this before you approve it, because we would rather you hear it from us. HubSpot does not offer a blog-only scope. content is a single coarse scope that also covers website pages, landing pages and marketing email. We do not touch any of those, and section 8 shows you how to confirm that for yourself, but we are not going to pretend the permission is narrower than it is. There is an open request with HubSpot to split it; until they do, this is the only way in.
What these scopes still cannot reach. Contacts, companies, deals, tickets and the rest of your CRM, your workflows, your reporting, your billing and your users. Those are separate scopes we do not ask for and would be visible on the app’s Scopes tab if we had.
Pick a permission level
Nina publishes
Posts set to state PUBLISHED
Nina drafts, uploads images, and publishes on the agreed schedule. You review in your own HubSpot blog dashboard whenever you want.
- Nothing waits on your inbox
- Posts go live on the dates in your plan
- We can refresh ranking posts in place
- Scheduling is supported natively
Nina drafts, you publish
Posts left in DRAFT
Every post arrives in your blog dashboard as a draft with images uploaded and metadata filled in. Nothing is public until someone on your team publishes it.
- Final say stays with your team
- Useful for regulated or legal-review content
- Publishing stalls when your team is busy
- Content refreshes need a second approval
Be aware of what draft mode is and is not. HubSpot has no scope that permits creating a post but forbids publishing it. content covers both. So draft-only is enforced by Nina’s pipeline, not by HubSpot.
Create the private app
You need to be a Super Admin in the portal. If you are not, HubSpot will not show you these menus at all.
Open the apps screen
You can also reach it at Settings › Integrations › Legacy apps
HubSpot renamed this menu, and it throws almost everyone. What every older guide on the internet calls Private Apps now appears as Legacy Apps. Nothing is wrong with your account and nothing has been switched off. A Private Apps entry does still exist under Settings › Integrations, but opening it just says your private apps have moved and offers a button through to Legacy Apps. Go straight to Legacy Apps.
Create it
Click Create legacy app and choose Private.
HubSpot now shows a full-screen warning here, and it stops most people. It tells you legacy private apps have limited functionality and pushes you towards Service Keys instead. You do not need Service Keys for this. Tick the box acknowledging the limitation, then click Continue with legacy private app. The Continue button stays greyed out until that box is ticked, which is what makes this screen look like a dead end.
On the Basic Info tab, name it Nina Publishing so it is obvious later what it is and who it belongs to.
Add the two scopes
Open the Scopes tab and click Add new scope. A search box appears. Search for and tick each of:
content
filesTwo things about this screen that look like mistakes and are not. First, content is filed under the Other section rather than CMS, which is where everyone looks for it. Second, searching for the word blog returns nothing at all, because the blog scope is not called blog. Search for content exactly.
If content appears greyed out and cannot be ticked, your plan does not include it. That is the cleanest possible answer to the tier question in section 1, and it means the integration cannot run until the plan changes. Tell us and we will confirm what your options are.
Click Update, then Create app, then Continue creating.
Copy the token
The token looks like pat-na1- followed by a long identifier. The middle part is your region code and varies by where your account is hosted: na1, na2, eu1, na3 and ap1 are all normal. Whatever yours says, it is correct.
Unlike most platforms, this token is not a one-time reveal. You can come back to the Auth tab and read it again whenever you want, and it does not expire. That also means it is worth rotating occasionally; section 8 covers how.
Send us three things
- The access token
- Your Hub ID, the number shown under your account name in the top-right menu
- The name and email you want on the posts as the author
You do not need to find your blog ID or an author ID. With the token we look those up ourselves, and we can create the author record for you if it does not exist yet.
Verify it works before you send it
This single command answers three questions at once: is the token valid, was the scope granted, and does your tier actually permit blog access.
curl -s -w '\nHTTP %{http_code}\n' \
'https://api.hubapi.com/cms/v3/blog-settings/settings' \
-H 'Authorization: Bearer pat-na1-YOUR-TOKEN'| What you get | What it means |
|---|---|
200 with a results array | Everything works. Your tier is fine and the scope is granted. Send us the token. |
| 401 | The token is wrong or was pasted with a character missing. Copy it again from the Auth tab. |
| 403 | The scope was not granted, or your tier does not include the Blog API. Check the Scopes tab first, then section 1. |
This one command answers the tier question definitively. Whatever your plan says on the billing screen, a 200 here means the blog API is available to you and nothing else needs checking.
What Nina actually calls
Published here so your developer or security reviewer can see the whole surface without asking. All of it is HubSpot’s stock CMS Blog API.
| Endpoint | Method | When |
|---|---|---|
/cms/v3/blog-settings/settings | GET | Once, to verify access and find your blog |
/cms/v3/blogs/authors | GET, POST | To find your author, or create the byline you asked for |
/cms/v3/blogs/tags | GET, POST | To resolve your tags, and add one when the strategy calls for it |
/cms/v3/blogs/posts | GET, POST | To read your published posts for internal linking, and to create the post |
/cms/v3/blogs/posts/<id> | PATCH | To publish the post, and to refresh it later |
/files/v3/files | POST | To upload images to your File Manager |
How publishing actually works
HubSpot will happily create a blog post with only a title and a blog ID, then refuse to publish it. That asymmetry is the single most common failure in HubSpot integrations, so Nina validates everything up front rather than discovering it at publish time. A post cannot go live without all of:
- A title and the blog it belongs to
- A URL slug
- An author
- A meta description
- Either a featured image, or an explicit instruction that there is not one
Nina always sends all of these on creation, then publishes as a separate, verifiable step.
Updating a published post takes effect immediately. HubSpot does have a draft buffer for live posts, but it only applies if an integration deliberately opts into it. Nina does not, so when we fix a typo or refresh a ranking post, the change is live straight away rather than sitting in a queue nobody remembers to flush.
Volume
HubSpot allows 190 requests every ten seconds per app on Professional and Enterprise, with a daily ceiling of 625,000 on Professional and a million on Enterprise, shared across every integration in your account. Even a heavy blog schedule is a rounding error against that, and because the ten-second limit is counted per app rather than per account, Nina’s traffic does not compete with your other integrations for headroom.
Images and formatting
Images are uploaded to your File Manager as publicly indexable files, which is the only setting that lets Google Images credit them to your domain, and the featured image and its alt text are set on the post. Post bodies are sent as clean semantic HTML into HubSpot’s post body field.
Your blog’s template is chosen in your HubSpot settings, not by us. A post created through the API inherits whatever template your blog already uses, so posts look exactly like the ones your team writes.
Troubleshooting
It is called Legacy apps now. Look under Development, or under Settings › Integrations. If neither appears, you are not a Super Admin in this portal.
Your plan does not include it. HubSpot greys out scopes your tier cannot grant rather than hiding them, which at least makes the answer unambiguous. See section 1 for which tiers qualify.
Expected. There is no scope with blog in its name. The blog is covered by content, which sits in the Other section. Search for content exactly.
Check whether the HubSpot user who originally created the app has been removed from the portal. HubSpot ties some private app calls to the creating user, and deleting that user breaks the token even though the app still looks healthy.
This is worth designing around rather than fixing after the fact: have a stable admin create the app, not a contractor or someone mid-handover.
This one is well known and frustrating, because it can appear even when the blog ID is correct and was read straight from your own portal moments earlier. It is not something you have done wrong.
Tell us and we will re-read your blog list and retry. If it persists, it usually needs a HubSpot support ticket rather than a change on either side.
Stuck? Send tech@trynina.co the failing response and your Hub ID. Never send the token in that thread.
Security, auditing, and revoking
How to check what we have been doing
- Your blog dashboard lists every post, draft and published, with author and last-updated date.
- Your File Manager shows every image the integration has uploaded.
- The app’s own page shows its scopes, so you can confirm at a glance that we hold only
contentandfiles.
How to revoke, two ways
| Action | Effect |
|---|---|
| Rotate the token the app › Auth › Rotate | Issues a new token. Choose expire later and the old one keeps working for seven days, which avoids an outage; choose expire now and it dies immediately. Reversible: send us the new token and we are back. |
| Delete the app the app › Auth › Delete | Permanently revokes access. Your posts and images stay exactly where they are. |
Either one stops access on the next request. Nothing is deleted and nothing is unpublished.
What Nina will never do with this token
- Send, edit or read your marketing email
- Create, edit or delete your website or landing pages
- Touch contacts, companies, deals or anything in your CRM
- Change your blog settings, templates or domains
- Delete or unpublish a post your team wrote
The CRM is blocked outright by HubSpot’s scope model. The first two are within what content technically permits, which is exactly why we said so plainly in section 2 rather than burying it. They are commitments, and they are in your services agreement.
Send us this and you are done
Email tech@trynina.co with:
- The access tokenAuth tab › Show token. Password manager share link preferred.
- Your Hub IDThe number under your account name, top right
- The author bylineName and email you want shown on posts
Not the right stack?
Nina publishes into WordPress, Shopify, Webflow, Wix and GoHighLevel as well. Same idea, different credential.