GhostfeedGhostfeed MCPv13.2.0
REST API

Slideshows

List and review TikTok photo slideshows: every variant, its slides, texts, and background provenance. Agents build decks with the Studio tools; these read them back and export their slide images as a zip. Slideshow templates (photo posts imported with import_template_from_social_post) can be read as sources to copy, the way the ghostfeed-slideshow-clone skill says.

GET /api/v2/slideshows

READ

MCP twin: list_slideshows

List paginated workspace slideshow IDs/names, newest activity first, with variant counts and processing state; optionally search names. Slide bodies are omitted.

Query parameters
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "query": {
      "type": "string",
      "maxLength": 100
    },
    "page": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 20,
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "slideshows": [
      {
        "id": "64f1c2a1b2c3d4e5f6072000",
        "name": "5 Morning Habits That Changed My Skin",
        "variants": 2,
        "processing": false,
        "updatedAt": "2026-07-18T11:42:30.000Z",
        "dashboardUrl": "https://ghostfeed.ai/w/client-a/slideshows/64f1c2a1b2c3d4e5f6072000?ref=agent"
      }
    ],
    "total": 9,
    "pages": 1,
    "page": 1
  }
}

GET /api/v2/slideshows/:id

READ

MCP twin: get_slideshow

Read metadata and paginated stable variant IDs; supply variantId for editable state and stable slide/text/image IDs, optionally filtered by slideIds. Each slide has kind: html slides carry their canonical html with element data-ids for edit_slide; classic (fabric) slides carry texts/images/background, and write_slide_html rewrites one as an HTML slide. Returns structured state, not rendered pixels; use render_slides to see slides. A classic slide stays classic here: change it in place with set_slide_texts, set_slide_background, set_slide_images or set_slide_layout.

Path parameters: id (from the URL).

Query parameters
{
  "type": "object",
  "properties": {
    "workspace": {
      "description": "Workspace slug, ID or exact name. Omit to use the connection's default workspace. Native calls must target the chat workspace.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "variantId": {
      "description": "Read editable state for this variant ID. Omit to discover variant IDs.",
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "slideIds": {
      "description": "Read these slides from the selected variant. Omit for all its slides.",
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      }
    },
    "page": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 20,
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "slideshowId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "slideshow": {
      "id": "64f1c2a1b2c3d4e5f6072000",
      "name": "Daily habits",
      "dashboardUrl": "https://ghostfeed.ai/w/client-a/slideshows/64f1c2a1b2c3d4e5f6072000",
      "canvas": {
        "width": 1080,
        "height": 1920
      },
      "variants": [
        {
          "id": "64f1c2a1b2c3d4e5f6072001",
          "index": 1,
          "status": "ready",
          "slideCount": 1
        }
      ],
      "variantsTotal": 1,
      "page": 1,
      "pages": 1,
      "selectedVariant": {
        "id": "64f1c2a1b2c3d4e5f6072001",
        "index": 1,
        "status": "ready",
        "slideCount": 1,
        "slides": [
          {
            "id": "slide-1",
            "position": 0,
            "kind": "fabric",
            "visualRevision": 1,
            "backgroundColor": "#000000",
            "backgroundOverlayOpacity": 0,
            "isProductSlide": false,
            "layout": "single",
            "texts": [
              {
                "id": "title-1",
                "text": "Small habits, lasting change",
                "x": 540,
                "y": 640,
                "fontSize": 64,
                "fontFamily": "Inter",
                "color": "#ffffff",
                "backgroundColor": null,
                "stroke": null,
                "strokeWidth": 0,
                "textAlign": "center"
              }
            ],
            "images": []
          }
        ]
      }
    }
  }
}

GET /api/v2/slideshow-inspirations

READ

MCP twin: search_inspiration_slideshows

Search ready slideshow inspirations with saved media/captions and actual engagement sorting; recommended selects curated items. Returns up to 20 source slides per result with slidesTruncated for longer examples; no new analysis runs. To SHOW these results in an MCP Apps host, ALWAYS call render_inspiration_browser; never hand-build the presentation in chat (no markdown galleries, embedded thumbnails, numbered image lists, or artifacts), even after a widget error. Outside an Apps host, describe items in text and share the dashboard link.

Query parameters
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "query": {
      "type": "string",
      "minLength": 3,
      "maxLength": 100
    },
    "category": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "slideCount": {
      "type": "string",
      "enum": [
        "short",
        "medium",
        "long"
      ]
    },
    "sort": {
      "default": "most_liked",
      "type": "string",
      "enum": [
        "most_liked",
        "most_viewed",
        "most_cloned",
        "newest",
        "recommended"
      ]
    },
    "page": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 12,
      "type": "integer",
      "minimum": 1,
      "maximum": 24
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "inspirations": [
      {
        "inspirationId": "example",
        "name": "Daily habits",
        "slideCount": 1,
        "slides": [
          {
            "index": 0,
            "imageUrl": "https://cdn.ghostfeed.ai/inspiration/example.jpg"
          }
        ],
        "slidesTruncated": false,
        "likeCount": 100,
        "viewCount": 1000,
        "cloneCount": 5,
        "isRecommended": true
      }
    ],
    "total": 1,
    "page": 1,
    "pages": 1
  }
}

GET /api/v2/slideshow-templates

READ

MCP twin: list_slideshow_templates

List the slideshow templates in this workspace (photo posts imported with import_template_from_social_post), newest first. Each template has its templateId, name, status (pending, ready or failed), errorMessage, coverUrl, slideCount, caption, author and like and view counts, but not its slides. Search names, captions and authors with q; pass nextCursor as cursor for the next page. Read a ready one with get_slideshow_template for its slide images, then copy it the way the ghostfeed-slideshow-clone skill says. To show one ready template to the user in an MCP Apps host, call render_slideshow_result with template: { templateId }.

Query parameters
{
  "type": "object",
  "properties": {
    "workspace": {
      "description": "Target workspace: a slug, id, or exact name from list_workspaces. Omit to use this connection's default workspace. Must be inside the credential's grant and your current access; overrides the connection-level X-Workspace-Id header.",
      "type": "string"
    },
    "q": {
      "description": "Search template names, captions and authors.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "cursor": {
      "description": "nextCursor from the previous page.",
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "limit": {
      "description": "Per page (max 24, default 12).",
      "type": "integer",
      "minimum": 1,
      "maximum": 24
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "templates": [
      {
        "templateId": "st_3f6b2a1c-8d4e-4f7a-9b2c-1e5d7a9c0b12",
        "name": "Five desk upgrades that changed how I work from home",
        "status": "ready",
        "errorMessage": null,
        "sourceUrl": "https://www.tiktok.com/@deskdaily/photo/7301234567890123456",
        "sourcePlatform": "tiktok",
        "slideCount": 2,
        "coverUrl": "https://media.example.com/slideshow-template-uploads/slide-0.jpg",
        "caption": "Five desk upgrades that changed how I work from home #desksetup",
        "authorName": "Desk Daily",
        "authorHandle": "deskdaily",
        "likeCount": 1200,
        "viewCount": 48000,
        "archivedAt": null,
        "createdAt": "2026-10-17T12:00:00.000Z",
        "updatedAt": "2026-10-17T12:00:40.000Z"
      }
    ],
    "nextCursor": null
  }
}

GET /api/v2/slideshow-templates/:templateId

READ

MCP twin: get_slideshow_template

Read one slideshow template by its templateId: its status (pending, ready or failed), errorMessage, slide image URLs, caption, author and like and view counts. After import_template_from_social_post, call it with waitMs 25000 until the status is ready or failed. Free. To show a ready template to the user in an MCP Apps host, call render_slideshow_result with template: { templateId }.

Path parameters: templateId (from the URL).

Query parameters
{
  "type": "object",
  "properties": {
    "workspace": {
      "description": "Target workspace: a slug, id, or exact name from list_workspaces. Omit to use this connection's default workspace. Must be inside the credential's grant and your current access; overrides the connection-level X-Workspace-Id header.",
      "type": "string"
    },
    "templateId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A slideshow template id from list_slideshow_templates or import_template_from_social_post."
    },
    "waitMs": {
      "description": "Wait server-side up to this many milliseconds (max 25000) and return as soon as the import is finished. Omit to read the current state immediately.",
      "type": "integer",
      "minimum": 0,
      "maximum": 25000
    }
  },
  "required": [
    "templateId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "template": {
      "templateId": "st_3f6b2a1c-8d4e-4f7a-9b2c-1e5d7a9c0b12",
      "name": "Five desk upgrades that changed how I work from home",
      "status": "ready",
      "errorMessage": null,
      "sourceUrl": "https://www.tiktok.com/@deskdaily/photo/7301234567890123456",
      "sourcePlatform": "tiktok",
      "slides": [
        {
          "index": 0,
          "imageUrl": "https://media.example.com/slideshow-template-uploads/slide-0.jpg",
          "width": 1080,
          "height": 1920
        },
        {
          "index": 1,
          "imageUrl": "https://media.example.com/slideshow-template-uploads/slide-1.jpg",
          "width": 1080,
          "height": 1920
        }
      ],
      "slideCount": 2,
      "coverUrl": "https://media.example.com/slideshow-template-uploads/slide-0.jpg",
      "caption": "Five desk upgrades that changed how I work from home #desksetup",
      "authorName": "Desk Daily",
      "authorHandle": "deskdaily",
      "likeCount": 1200,
      "viewCount": 48000,
      "archivedAt": null,
      "createdAt": "2026-10-17T12:00:00.000Z",
      "updatedAt": "2026-10-17T12:00:40.000Z"
    },
    "nextSteps": "Ready with 2 slides. This is the SOURCE to copy, not your deck. LOOK at the slide images and read the caption, then create_blank_slideshow and hand-build the copy the way the ghostfeed-slideshow-clone skill says: the same design and beats, FRESH images, and the source's words or new ones, as the user chose. The deck costs 1 credit on your first build edit."
  }
}

PATCH /api/v2/slideshows/:slideshowId

WRITE

MCP twin: update_slideshow

Patch name, aspectRatio or Brand association; omissions preserve fields and brandId:null clears association. Ratio changes require generation to finish, reflow every variant and invalidate export rasters; HTML slides render again at the new size.

Path parameters: slideshowId (from the URL).

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "aspectRatio": {
      "type": "string",
      "enum": [
        "9:16",
        "4:5",
        "3:4",
        "1:1"
      ]
    },
    "brandId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-f\\d]{24}$"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "workspace",
    "slideshowId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "slideshow": {
      "id": "64f1c2a1b2c3d4e5f6072000",
      "name": "Daily habits",
      "dashboardUrl": "https://ghostfeed.ai/w/client-a/slideshows/64f1c2a1b2c3d4e5f6072000",
      "width": 1080,
      "height": 1920,
      "brandId": null
    }
  }
}

DELETE /api/v2/slideshows/:slideshowId

DESTRUCTIVE

MCP twin: delete_slideshow

Delete the saved slideshow and its variants/scheduled publishing records only when the user requests deletion.

Path parameters: slideshowId (from the URL).

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    }
  },
  "required": [
    "workspace",
    "slideshowId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "deletedSlideshowId": "64f1c2a1b2c3d4e5f6072000"
  }
}

PATCH /api/v2/slideshows/:slideshowId/variants/:variantId

WRITE

MCP twin: update_variant

Rename saved variantId, or clear its name with null so it shows "Variant N". Free; slides and caption are unchanged.

Path parameters: slideshowId, variantId (from the URL).

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "variantId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "description": "The new variant name; null clears it, so the variant shows \"Variant N\"."
    }
  },
  "required": [
    "workspace",
    "slideshowId",
    "variantId",
    "name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "slideshowId": "64f1c2a1b2c3d4e5f6072000",
    "variantId": "64f1c2a1b2c3d4e5f6072001",
    "slideIds": [
      "slide-1",
      "slide-2"
    ],
    "committedVariant": {
      "id": "64f1c2a1b2c3d4e5f6072001",
      "index": 2,
      "name": "Umrah",
      "status": "ready",
      "slideCount": 2,
      "structureRevision": 3,
      "updatedAt": "2026-11-16T10:00:00.000Z",
      "slideIds": [
        "slide-1",
        "slide-2"
      ],
      "slides": []
    }
  }
}

DELETE /api/v2/slideshows/:slideshowId/variants/:variantId

DESTRUCTIVE

MCP twin: delete_variant

Delete saved variantId only when the user requests deletion; at least one variant must remain. Clears its scheduled publishing records and preserves surviving variant indexes.

Path parameters: slideshowId, variantId (from the URL).

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "variantId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    }
  },
  "required": [
    "workspace",
    "slideshowId",
    "variantId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "slideshowId": "64f1c2a1b2c3d4e5f6072000",
    "deletedVariantId": "64f1c2a1b2c3d4e5f6072001",
    "survivingVariantIds": [
      "64f1c2a1b2c3d4e5f6072002"
    ]
  }
}

POST /api/v2/slideshows/:slideshowId/variants/:variantId/move

DESTRUCTIVE

MCP twin: move_variant

Move saved variantId out of slideshowId into toSlideshowId in the same workspace, as its last variant. Free: slides, texts, images and caption move as they are and nothing is regenerated. The other variants stay. When slideshowId has no variant left, it is deleted. Both slideshows must have the same aspect ratio, and a variant still generating cannot move. Public callers should supply idempotencyKey and reuse it after uncertain responses.

Path parameters: slideshowId, variantId (from the URL).

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "variantId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    },
    "toSlideshowId": {
      "type": "string",
      "pattern": "^[a-f\\d]{24}$"
    }
  },
  "required": [
    "workspace",
    "slideshowId",
    "variantId",
    "toSlideshowId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "variantId": "64f1c2a1b2c3d4e5f6072001",
    "fromSlideshowId": "64f1c2a1b2c3d4e5f6072000",
    "toSlideshowId": "64f1c2a1b2c3d4e5f6072100",
    "variantIndex": 4,
    "fromSlideshowDeleted": false
  }
}

POST /api/v2/slideshows/exports

WRITE

MCP twin: export_slideshows

Export the slide images of up to 50 slideshows (at most 1000 slides) as one zip, in one call. Omit variantIds to export every variant of a slideshow, or give variantIds to export only those. Answers at once with downloadUrl, which works for 24 hours. A slideshow with a variant or slide that is not ready is not exported, and notExported says why. When no slideshow can be exported, the call fails with the reasons. Free.

Workspace-scoped writes name workspace in the body (or as a ?workspace= query param on a bodyless DELETE); the X-Workspace-Id header is for reads only.

Request body
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "slideshows": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slideshowId": {
            "type": "string",
            "pattern": "^[a-f\\d]{24}$"
          },
          "variantIds": {
            "description": "Export only these variants. Omit to export every variant.",
            "minItems": 1,
            "maxItems": 1000,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-f\\d]{24}$"
            }
          }
        },
        "required": [
          "slideshowId"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "workspace",
    "slideshows"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "downloadUrl": "https://api.ghostfeed.ai/api/slideshow-exports/64f1c2a1b2c3d4e5f6073000/download?token=<link-token>",
    "fileName": "ghostfeed_slideshows_2026-10-26.zip",
    "expiresAt": "2026-10-27T09:30:00.000Z",
    "slideCount": 12,
    "notExported": [
      {
        "slideshowId": "64f1c2a1b2c3d4e5f6072000",
        "reason": "Slide 4 of variant 2 was made in the old editor and its image is out of date. Open the slideshow in Ghostfeed once, or rewrite the slide with write_slide_html, then export again."
      }
    ]
  }
}