GoHighLevel API access for Nina
Nina writes your blog posts, sources the images, and publishes them into your GoHighLevel blog. This page is the exact setup for the credential that makes that possible, including the three things that have to exist in your sub-account first.
Three things to set up first
GoHighLevel’s API can write posts into a blog, but it cannot create the blog, an author or a category. All three have to exist before the first post can be published, and the API refuses the post outright if any are missing. Five minutes in the dashboard now avoids a stall later.
A blog
From the blog list, create a new blog and give it a name, a URL slug and a domain. If you already publish posts in GoHighLevel this exists and you can skip this step.
At least one author
Create the byline you want on Nina’s posts. Your brand name is a common choice. Every post must reference an author that already exists.
At least one category
Every post must be filed into at least one existing category. Create the ones your content plan calls for, or one general category to start with.
You do not need to find any IDs for these. Once we have the token we look up your blog, authors and categories by name. You only need to make sure they exist and tell us which ones to use.
What Nina needs, and why
GoHighLevel grants API access as named scopes on a token you generate inside the sub-account. Here they are in full.
blogs/post.writeblogs/post-update.writeblogs/author.readonlyblogs/category.readonlyblogs/check-slug.readonlymedias.write| Scope | Why Nina needs it |
|---|---|
blogs/post.write | To create the post. The core of the job. |
blogs/post-update.write | To refresh a ranking post in place, or fix a typo, rather than publishing a duplicate against it. |
blogs/author.readonly | To find the author you asked us to use. GoHighLevel requires an author ID on every post. |
blogs/category.readonly | To find your categories. GoHighLevel requires at least one category ID on every post. |
blogs/check-slug.readonly | To confirm a post’s URL is free before publishing, so we never collide with something you already have. |
medias.write | Every post requires a cover image. This uploads it into your own media library rather than hotlinking it from us. |
Two more scopes to tick if you see them. blogs/list.readonly and blogs/posts.readonly let us find your blog automatically and read your published posts for internal linking. They do not appear in every account’s scope picker. If you cannot find them, tick the six above and tell us; we will just ask you for the blog’s name instead.
What these scopes cannot reach. Contacts, conversations, opportunities, calendars, payments, workflows and your funnels. GoHighLevel scopes each of those separately and we have not asked for any of them.
Pick a permission level
Nina publishes
Posts created with status PUBLISHED
Nina drafts, uploads the cover image, and publishes on the agreed schedule. You review in your own GoHighLevel blog dashboard whenever you want.
- Nothing waits on your inbox
- Posts go live on the dates in your plan
- Native scheduling is supported
- We can refresh ranking posts in place
Nina drafts, you publish
Posts created with status DRAFT
Every post arrives in your blog dashboard as a draft, complete with cover image, categories and metadata. 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
Be aware of what draft mode is and is not. GoHighLevel has no scope that permits creating a post but forbids publishing it. The write scope covers both, and publishing is simply a field on the post. So draft-only is enforced by Nina’s pipeline, not by GoHighLevel.
Create the token
Open Private Integrations in the sub-account
It must be the sub-account, not the agency. GoHighLevel lets you create tokens at both levels and they look identical. Blog endpoints only accept a sub-account token, so an agency-level one will fail every call with a permissions error that gives no hint as to why. Make sure you have selected the client sub-account before you start.
If the menu is not there, the feature needs enabling under Labs first. If you are on a white-labelled agency platform, everything on this page works identically; you just reach it at your agency’s branded address instead of the GoHighLevel one.
Create it and select the scopes
Click Create new Integration, name it Nina Publishing, add a short description, then click Next and tick the scopes from section 2. The picker is searchable; search for blog and media to find them quickly.
Click Create.
Copy the token
The token starts with pit-. Copy it immediately.
GoHighLevel shows it once. Editing the integration’s name, description or scopes later does not regenerate it, so you will not get a second chance to read it. If you lose it, rotate and send us the new one.
Send us four things
- The token
- Your Location ID, found at Settings › Business Profile, or in the address bar after
/location/ - Which blog to publish into, by name
- Which author and which categories to use
Verify it works before you send it
This proves the token, the location and the blog scopes in one read-only call.
curl --request GET \
--url 'https://services.leadconnectorhq.com/blogs/authors?locationId=YOUR_LOCATION_ID&limit=10&offset=0' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer pit-YOUR_TOKEN' \
--header 'Version: 2021-07-28'A 200 with your authors listed means everything is correct, and it also confirms step 2 of section 1 is done.
The Version header is required and easy to miss. GoHighLevel rejects calls without it. The date above is not a typo, it is how GoHighLevel versions its API, and it is the value that works for this endpoint. Newer endpoint versions expect a different value, so do not be surprised if you see v3 used elsewhere in their docs.
What Nina actually calls
| Endpoint | Method | When |
|---|---|---|
/blogs/site/all | GET | Once, to find your blog |
/blogs/authors, /blogs/categories | GET | To resolve your author and categories by name |
/blogs/posts/url-slug-exists | GET | To confirm the post’s URL is free before publishing |
/medias/upload-file | POST | To upload the cover image into your media library |
/blogs/posts | POST | To create the post |
/blogs/posts/<id> | PUT | To refresh a post later, or fix a typo |
What GoHighLevel requires on every post
GoHighLevel is stricter than most platforms about what a post must carry. All of the following are mandatory, and a post missing any one of them is rejected rather than published incomplete:
- Title, URL slug and description
- The sub-account, the blog, the author and at least one category
- The post body
- A cover image and its alt text
- A publish date and a status
This is one of the rare cases where a platform’s strictness is doing you a favour. Every Nina post ships with a licensed cover image, alt text and a meta description as standard, so this changes nothing about how we work. It does mean a GoHighLevel blog cannot accumulate half-finished posts with missing images, which is a common source of scruffy blogs elsewhere.
Post bodies are sent as clean semantic HTML, which is the format GoHighLevel’s blog field expects.
Troubleshooting
Two causes. The feature may need switching on under Labs for the account. Or your user role does not include permission to manage private integrations, which an agency admin can grant under Settings › Team.
The most likely cause by far is that the token was created at the agency level rather than inside the sub-account. Blog endpoints only accept sub-account tokens. Recreate it from inside the client sub-account.
The second most likely cause is a missing Version header.
Usually one of the three prerequisites in section 1. A deleted category, a renamed author, or a blog that was rebuilt will all break posting, because the IDs we resolved earlier no longer exist.
Tell us if you reorganise your blog and we will re-resolve them in a couple of minutes.
Private Integration tokens expose a narrower scope list than GoHighLevel’s full API, and the exact list varies between accounts. If blogs/list.readonly or blogs/posts.readonly are not offered, tick everything else and tell us. We will ask you for the blog name directly instead of discovering it, which costs you one extra sentence and nothing else.
Check its status in the blog dashboard. Only posts marked published render; drafts, scheduled and archived posts do not. There is no separate publish action in GoHighLevel, so a post sitting in draft simply means it was created that way.
Also confirm the blog has a domain connected. GoHighLevel lets you build a blog before connecting one, and posts in that state have nowhere public to appear.
Stuck? Send tech@trynina.co the failing response and your Location 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 with its status, author and categories.
- Your media library shows every image the integration has uploaded.
- The Private Integrations screen shows the token’s name and exactly which scopes it holds.
How to revoke, two ways
| Action | Effect |
|---|---|
| Rotate and expire later | Issues a new token and keeps the old one alive for seven days, so publishing never breaks mid-schedule. The graceful option. |
| Rotate and expire now, or delete the integration | Cuts access immediately. Use this if you think the token has leaked. |
Either way your posts and images stay exactly where they are. Nothing is deleted and nothing is unpublished.
GoHighLevel allows twenty private integration tokens per sub-account. That ceiling was raised from five, so if you find an older help article saying five, it is out of date. Only relevant if a sub-account is already running a lot of automations.
What Nina will never do with this token
- Read or export contacts, conversations or opportunities
- Send SMS, email or any outbound message
- Touch calendars, payments, workflows or funnels
- Change your blog settings or domains
- Delete or unpublish a post your team wrote
GoHighLevel’s scope model blocks the first four outright, and you can confirm that on the integration’s own screen. The last one is a commitment, and it is in your services agreement.
Send us this and you are done
Email tech@trynina.co with:
- The tokenStarts with pit-. Password manager share link preferred.
- Your Location IDSettings › Business Profile, or the address bar after /location/
- Which blog to publish intoJust the name is fine
- Author and categoriesWhich byline and which categories new posts should use
Not the right stack?
Nina publishes into WordPress, Shopify, Webflow, HubSpot and Wix as well. Same idea, different credential.