Skip to content
Ghost logo

Connectors / Marketing · HTTP Connector

Automate Ghost with Tray.ai

Create a post, create a page and create a tag in Ghost, and start a workflow when Ghost sends “Post published”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with Ghost on Tray.ai?

Ghost is an open source publishing platform for blogs, newsletters and paid memberships, used by independent writers and media businesses. Tray.ai connects to Ghost through the HTTP Connector, so your workflows can call the Ghost API alongside the rest of your stack.

  • When Ghost sends “Post published”, share the new post in your team chat and on your social channels.
  • When Ghost sends “Member added”, create a contact in your CRM with their subscription details.
  • Create a member when a customer opts into your newsletter at checkout.
  • When Ghost sends “Member deleted”, remove the person from your email marketing lists.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://{admin_domain}/ghost/api/admin

Set it up

Connect Ghost to Tray.ai

Each step uses Ghost's own API details, from its documentation.

Step 1

Save Ghost's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://{admin_domain}/ghost/api/admin as the base URL. Or paste a cURL example from Ghost's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List posts”

It's one of 23 documented actions, under Posts. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Ghost events

Give Ghost the URL of a Tray.ai webhook trigger. “Post published” can then start a workflow, and so can 6 other events.

What the Ghost API covers

6 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Posts

  • List posts
  • Get a post
  • Create a post
  • Update a post
  • Delete a post

Pages

  • List pages
  • Create a page
  • Update a page
  • Delete a page

Members

  • List members
  • Get a member
  • Create a member
  • Update a member

Tags

  • List tags
  • Create a tag
  • Update a tag
  • Delete a tag

Newsletters

  • List newsletters
  • Create a newsletter
  • Update a newsletter

Offers

  • List offers
  • Create an offer
  • Update an offer

Events Ghost can send to a Tray.ai webhook trigger

  • Post published
  • Post updated
  • Page published
  • Member added
  • Member updated
  • Member deleted
  • Tag added

Checked against Ghost's own documentation on 2026-10-22

docs.ghost.org/admin-api

Frequently asked questions

What can a Tray.ai workflow do in Ghost?

+

The Ghost API documents 23 actions across 6 resources (Posts, Pages, Members, Tags, Newsletters, Offers). For example: List posts; List pages; List members. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Ghost?

+

The Ghost API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Ghost events can start a Tray.ai workflow?

+

Ghost sends 7 events to a webhook URL, for example: Post published; Post updated; Page published; Member added; Member updated; Member deleted; Tag added. A Tray.ai webhook trigger receives them and starts a workflow.

See Ghost working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.