---
title: "Fetch one capture"
method: GET
path: "/api/captures/{id}"
tags: ["Captures"]
---

# Fetch one capture

`GET /api/captures/{id}`

## Request

- Base URL: `https://snaplab.dev`
- URL: `https://snaplab.dev/api/captures/{id}`
- Auth: HTTP bearer

## Response `200`

The capture.

- Capture
  - `id` string
  - `userId` string
  - `apiKeyId` string, nullable
  - `url` string
  - `title` string, nullable
  - `status` 'pending' | 'processing' | 'completed' | 'failed'
  - `format` string
  - `selector` string, nullable
  - `fullPage` boolean
  - `width` integer
  - `height` integer
  - `deviceScaleFactor` integer
  - `darkMode` boolean
  - `fileKey` string, nullable
  - `fileSize` integer, nullable
  - `fingerprint` string, nullable
  - `error` string, nullable
  - `durationMs` integer, nullable
  - `cacheHit` boolean
  - `createdAt` string, date-time
  - `completedAt` string, date-time, nullable
  - `webhook` CaptureWebhook: Present on `GET /api/captures/{id}` only when a callback was set.
    - `url` string, uri
    - `deliveries` WebhookDelivery[]
      - `id` string
      - `attempt` integer: Attempts made so far, 1-4.
      - `status` 'pending' | 'ok' | 'failed' | 'gave_up'
      - `lastStatusCode` integer, nullable: HTTP status of the last attempt; null if the request never completed.
      - `updatedAt` string, date-time

## Other responses

- `401`: Not authenticated.
- `404`: No such capture for this account.

---

[API](https://skmtc.dev/snaplab/apis/snaplab-api.md) · [All operations](https://skmtc.dev/snaplab/apis/snaplab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/snaplab/apis/snaplab-api/revisions/4dbfbd8cd118?raw)
