---
title: "Capture slide screenshot"
method: POST
path: "/projects/{slug}/slides/{slideId}/screenshot"
tags: ["Slides"]
---

# Capture slide screenshot

`POST /projects/{slug}/slides/{slideId}/screenshot`

Take a screenshot of a slide as it currently renders. The slide is rendered headlessly in the cloud against the latest saved version of the project, and the JPEG is uploaded to a public CDN. Returns the screenshot URL. Use this to visually verify a slide after editing it. Pass isMobile=true to capture the mobile layout.

## Path parameters

- `slug` string, required
- `slideId` string, required

## Request body

- object
  - `isMobile` boolean — Capture the mobile layout instead of desktop. Defaults to false.

## Response `200`

Screenshot captured

- object
  - `slideId` string, required
  - `screenshotUrl` string, uri, required — Public CDN URL of the captured JPEG.

## Other responses

- `404` — Project or slide not found
- `503` — Screenshots are not configured on the server

---

[API](https://skmtc.dev/faces/apis/faces-api.md) · [All operations](https://skmtc.dev/faces/apis/faces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/faces/faces-api/revisions/83197d741969/schema)
