Selfhosted Admin API problems

I’m running selfhosted Ghost Version: 5.82.11 with the objective of publishing posts using the Admin API from n8n.io
The generated Content API works in getting post listing but I’m unable to connect to the Admin API

From the documentation URL, auth fails and I’ve tried many variations but am now clueless.
Are there any other self-hosters who can point me in the right direction to get connected and publishing?

Any help would be greatly appreciated
Martin

You say you’re self hosting. Is it possible you have that route blocked by your proxy setup?

@Cathy_Sarisky sorry, maybe wrong terminology, I’m not running a ghost.io instance so hosting Ghost myself out there on the Internet. the ports 80 and 443 are open and looking at the logs, my web guy gives this responses -

{"errors":[{"message":"Resource not found","context":null,"type":"NotFoundError","details":null,"property":null,"help":null,"code":null,"id":"ae9f1fd0-61ba-11ef-8f51-134e25c71dc0","ghostErrorCode":null}]}

“Resource not found” error indicates Ghost doesn’t have the route “/ghost/api/admin/”.

“/ghost/api/admin/” is just the base URL, and all Ghost admin API requests start with this base URL, but it is not an API endpoint by itself. For example, a valid admin API is like this:
“/ghost/api/admin/posts/” (the API to get your post list)

Additionally, admin API and client API require different authorization methods. You can call client API with a client key, but you need to generate a token before you call Admin API.
You can refer to this doc on how to generate a token: