# Ghost API Documentation

This is the complete API documentation for connecting to the Ghost API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Ghost connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/ghost/actions/{actionSlug}/run
```

## Ghost actions

- POST `copy-page` Copy Page
- POST `create-member` Create Member
- POST `create-newsletter` Create Newsletter
- POST `create-offer` Create Offer
- POST `create-page` Create Page
- POST `create-post` Create Post
- POST `create-tier` Create Tier
- POST `create-webhook` Create Webhook
- DELETE `delete-page` Delete Page
- DELETE `delete-post` Delete Post
- GET `get-page-by-id` Get Page by ID
- GET `get-post-by-id` Get Post by ID
- GET `get-post-by-slug` Get Post by Slug
- GET `list-members` List Members
- GET `list-newsletters` List Newsletters
- GET `list-offers` List Offers
- GET `list-pages` List Pages
- GET `list-posts` List Posts
- GET `list-tiers` List Tiers
- PUT `publish-post` Publish Post
- PUT `schedule-post` Schedule Post
- PUT `update-member` Update Member
- PUT `update-newsletter` Update Newsletter
- PUT `update-offer` Update Offer
- PUT `update-page` Update Page
- PUT `update-post` Update Post
- PUT `update-tier` Update Tier
- POST `upload-image` Upload Image
