---
title: "Create Capture"
method: POST
path: "/api/admin/captures"
tags: ["admin"]
---

# Create Capture

`POST /api/admin/captures`

Create a new page capture from the Chrome extension.

This endpoint:
1. Decodes the base64 screenshot
2. Uploads it to Supabase storage
3. Creates a database record with the capture data

## Headers

- `authorization` string, required

## Request body

- CreateCaptureRequest — Request to create a new page capture from the Chrome extension.
  - `product_id` string, required
  - `url` string, required
  - `title` string, nullable
  - `simplified_dom` string, required
  - `screenshot_base64` string, required
  - `screenshots_base64` string[], nullable
  - `viewport_width` integer, nullable
  - `viewport_height` integer, nullable
  - `captured_at` string, nullable

## Response `200`

Successful Response

- CaptureResponse — Response for a single capture.
  - `id` string, required
  - `product_id` string, required
  - `url` string, required
  - `title` string, nullable, required
  - `simplified_dom` string, required
  - `screenshot_url` string, nullable, required
  - `screenshot_urls` string[], nullable
  - `viewport_width` integer, nullable, required
  - `viewport_height` integer, nullable, required
  - `captured_at` string, nullable, required
  - `created_at` string, required
  - `status` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) · [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) · [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/dafdd6b267c4?raw)
