Ghost Admin API credentials

Hi,

Using self-hosted Ghost and latest self-hosted n8n. going by the documentation, I grab the Admin API key and use https://{admin_domain}/ghost/api/admin/ as the URL - which fails

Has anyone got this working to enable publishing new posts? This is driving me a little batty lol

Is this the correct URL to be using for self-hosted? Have I missed something to get it to work?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

You need to drop the /api/admin part from the url. From the documentation:

Using Admin API key#

To configure this credential, you’ll need:

  • The URL of your Ghost admin domain. Your admin domain can be different to your main domain and may include a subdirectory. All Ghost(Pro) blogs have a *.ghost.io domain as their admin domain and require https.
1 Like

I didn’t see anything that says to drop that part actually, in the documentation.
But anyway, I switched to using the HTTP node and getting a cookie preceeding it which works wonderfully. I think futureproofs the workflow too since it’s not dependent on the actual Ghost node.

Thanks heaps for replying and letting me know this part.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.