For the complete documentation index, see llms.txt. This page is also available as Markdown.

Ghost

Connect to Ghost to manage posts, pages, members, and tags via the Ghost Admin API.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

Ghost

Admin API Key

Ghost

Connect to the Ghost Admin API to create and manage posts, pages, members, and tags. Requires a custom integration's Admin API Key.

Set up in Ghost

  1. Sign in to Ghost Admin and go to Settings → Integrations.

  2. Click Add custom integration, give it a name, and create it.

  3. Copy the Admin API Key (format {id}:{secret}) and note your site's API URL.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select Ghost.

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

Admin API URL

Yes

Copy the 'API URL' shown in your custom integration page in Ghost Admin. For Ghost(Pro) this ends in .ghost.io; for self-hosted, use your custom domain.

Admin API Key

Yes

In Ghost Admin, go to Settings > Integrations and click '+ Add custom integration'. Give it a name, then copy the full 'Admin API key' shown on the integration page and paste it here.

Provider documentation: Setup reference.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required Ghost action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

List Posts

List posts in the Ghost blog, with filtering and pagination.

Inputs

Field
Type
Required
Description

Limit

integer

No

Number of posts to return per page (max 100).

Page

integer

No

Page number (1-indexed).

Order

string

No

Sort expression, e.g. 'published_at desc'.

Filter (NQL)

string

No

Ghost NQL filter string.

Include

string

No

Related resources to embed, comma-separated.

Outputs

Field
Type
Description

Posts

object

List of Ghost posts.

Total

integer

Total number of posts matching the filter.

Pagination

object

Pagination metadata.

Get Post

Fetch a single Ghost post by ID.

Inputs

Field
Type
Required
Description

Post ID

string

Yes

The ID of the post to fetch.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Post

object

The Ghost post.

Post ID

string

The ID of the returned post.

Create Post

Create a new post in Ghost.

Inputs

Field
Type
Required
Description

Title

string

Yes

Title of the new post.

HTML Content

textarea

No

HTML body of the post.

Status

select (string)

No

Publish state for the post. Available values: Draft, Published, Scheduled.

Slug

string

No

URL slug (auto-generated if omitted).

Featured

boolean

No

Mark the post as featured.

Tags

array

No

Tag names (created if missing).

Author Emails

array

No

Author emails.

Custom Excerpt

textarea

No

Optional custom excerpt.

Feature Image URL

string

No

URL of the feature image.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL if republishing from another source.

Publish At

string

No

ISO 8601 publish time (for scheduled posts).

Outputs

Field
Type
Description

Post

object

The created post.

Post ID

string

ID of the created post.

Update Post

Update an existing Ghost post.

Inputs

Field
Type
Required
Description

Post ID

string

Yes

ID of the post to update.

Updated At (from GET)

string

Yes

The post's current updated_at timestamp (for concurrency).

Title

string

No

New title for the post.

HTML Content

textarea

No

Replacement HTML body.

Status

select (string)

No

Publish state. Available values: Draft, Published, Scheduled.

Slug

string

No

URL slug.

Featured

boolean

No

Mark post as featured.

Tags

array

No

Tag names (replaces existing tags).

Author Emails

array

No

Author emails (replaces existing authors).

Custom Excerpt

textarea

No

Custom excerpt.

Feature Image URL

string

No

URL of the feature image.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL.

Publish At

string

No

ISO 8601 publish time (for scheduled posts).

Outputs

Field
Type
Description

Post

object

The updated post.

Post ID

string

ID of the updated post.

Delete Post

Delete a Ghost post by ID.

Inputs

Field
Type
Required
Description

Post ID

string

Yes

ID of the post to delete.

Outputs

Field
Type
Description

Success

boolean

True if the post was deleted.

Message

string

Outcome summary.

List Pages

List static pages in the Ghost blog.

Inputs

Field
Type
Required
Description

Limit

integer

No

Number of pages to return per page (max 100).

Page

integer

No

Page number (1-indexed).

Order

string

No

Sort expression, e.g. 'updated_at desc'.

Filter (NQL)

string

No

Ghost NQL filter string.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Pages

object

List of Ghost pages.

Total

integer

Total number of pages matching the filter.

Pagination

object

Pagination metadata.

Get Page

Fetch a single Ghost page by ID.

Inputs

Field
Type
Required
Description

Page ID

string

Yes

ID of the page to fetch.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Page

object

The Ghost page.

Page ID

string

ID of the returned page.

Create Page

Create a new static page in Ghost.

Inputs

Field
Type
Required
Description

Title

string

Yes

Title of the new page.

HTML Content

textarea

No

HTML body of the page.

Status

select (string)

No

Publish state. Available values: Draft, Published, Scheduled.

Slug

string

No

URL slug (auto-generated if omitted).

Featured

boolean

No

Mark the page as featured.

Tags

array

No

Tag names.

Author Emails

array

No

Author emails.

Custom Excerpt

textarea

No

Optional custom excerpt.

Feature Image URL

string

No

URL of the feature image.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL.

Publish At

string

No

ISO 8601 publish time.

Outputs

Field
Type
Description

Page

object

The created page.

Page ID

string

ID of the created page.

Update Page

Update an existing Ghost page.

Inputs

Field
Type
Required
Description

Page ID

string

Yes

ID of the page to update.

Updated At (from GET)

string

Yes

Current updated_at timestamp (for concurrency).

Title

string

No

New title.

HTML Content

textarea

No

Replacement HTML body.

Status

select (string)

No

Publish state. Available values: Draft, Published, Scheduled.

Slug

string

No

URL slug.

Featured

boolean

No

Mark page as featured.

Tags

array

No

Tag names (replaces existing tags).

Author Emails

array

No

Author emails (replaces existing authors).

Custom Excerpt

textarea

No

Custom excerpt.

Feature Image URL

string

No

URL of the feature image.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL.

Publish At

string

No

ISO 8601 publish time.

Outputs

Field
Type
Description

Page

object

The updated page.

Page ID

string

ID of the updated page.

Delete Page

Delete a Ghost page by ID.

Inputs

Field
Type
Required
Description

Page ID

string

Yes

ID of the page to delete.

Outputs

Field
Type
Description

Success

boolean

True if the page was deleted.

Message

string

Outcome summary.

List Members

List members of the Ghost blog.

Inputs

Field
Type
Required
Description

Limit

integer

No

Number of members per page (max 100).

Page

integer

No

Page number (1-indexed).

Order

string

No

Sort expression.

Filter (NQL)

string

No

Ghost NQL filter.

Search

string

No

Search by name or email.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Members

object

List of Ghost members.

Total

integer

Total number of members matching the filter.

Pagination

object

Pagination metadata.

Get Member

Fetch a single Ghost member by ID.

Inputs

Field
Type
Required
Description

Member ID

string

Yes

ID of the member to fetch.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Member

object

The Ghost member.

Member ID

string

ID of the returned member.

Create Member

Create a new member in Ghost.

Inputs

Field
Type
Required
Description

Email

string

Yes

Email address of the new member.

Name

string

No

Display name.

Note

textarea

No

Internal note.

Subscribed to Emails

boolean

No

Whether the member receives newsletter emails.

Labels

array

No

Label names for segmenting members.

Outputs

Field
Type
Description

Member

object

The created member.

Member ID

string

ID of the created member.

Update Member

Update an existing Ghost member.

Inputs

Field
Type
Required
Description

Member ID

string

Yes

ID of the member to update.

Email

string

No

New email address.

Name

string

No

New display name.

Note

textarea

No

Internal note.

Subscribed to Emails

boolean

No

Whether the member receives newsletter emails.

Labels

array

No

Labels (replaces existing labels).

Outputs

Field
Type
Description

Member

object

The updated member.

Member ID

string

ID of the updated member.

Delete Member

Delete a Ghost member by ID.

Inputs

Field
Type
Required
Description

Member ID

string

Yes

ID of the member to delete.

Outputs

Field
Type
Description

Success

boolean

True if the member was deleted.

Message

string

Outcome summary.

List Tags

List tags defined in the Ghost blog.

Inputs

Field
Type
Required
Description

Limit

integer

No

Number of tags per page (max 100).

Page

integer

No

Page number (1-indexed).

Order

string

No

Sort expression.

Filter (NQL)

string

No

Ghost NQL filter.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Tags

object

List of Ghost tags.

Total

integer

Total number of tags matching the filter.

Pagination

object

Pagination metadata.

Get Tag

Fetch a single Ghost tag by ID.

Inputs

Field
Type
Required
Description

Tag ID

string

Yes

ID of the tag to fetch.

Include

string

No

Related resources to embed.

Outputs

Field
Type
Description

Tag

object

The Ghost tag.

Tag ID

string

ID of the returned tag.

Create Tag

Create a new tag in Ghost.

Inputs

Field
Type
Required
Description

Name

string

Yes

Tag name.

Slug

string

No

URL slug (auto-generated if omitted).

Description

textarea

No

Description of the tag.

Feature Image URL

string

No

URL of the feature image.

Visibility

select (string)

No

Public or internal tag. Available values: Public, Internal.

Accent Color

string

No

Hex accent color.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL.

Outputs

Field
Type
Description

Tag

object

The created tag.

Tag ID

string

ID of the created tag.

Update Tag

Update an existing Ghost tag.

Inputs

Field
Type
Required
Description

Tag ID

string

Yes

ID of the tag to update.

Name

string

No

New tag name.

Slug

string

No

URL slug.

Description

textarea

No

Description.

Feature Image URL

string

No

URL of the feature image.

Visibility

select (string)

No

Public or internal tag. Available values: Public, Internal.

Accent Color

string

No

Hex accent color.

Meta Title

string

No

SEO meta title.

Meta Description

textarea

No

SEO meta description.

Canonical URL

string

No

Canonical URL.

Outputs

Field
Type
Description

Tag

object

The updated tag.

Tag ID

string

ID of the updated tag.

Delete Tag

Delete a Ghost tag by ID.

Inputs

Field
Type
Required
Description

Tag ID

string

Yes

ID of the tag to delete.

Outputs

Field
Type
Description

Success

boolean

True if the tag was deleted.

Message

string

Outcome summary.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?