▪ Free plan: 3 websites with daily snapshots, no card required → ▪ ▪ Free plan: 3 websites, no card →

Trigger snapshot

Trigger a snapshot

Triggers an immediate screenshot capture outside the regular schedule. The capture happens asynchronously — the API returns 202 Accepted with a snapshot_id you can poll until the screenshot is ready. Typical capture time is 10–30 seconds, depending on page complexity.

If a capture is already in progress for this monitor, the API returns 409 Conflict to prevent duplicate captures.

POST/v1/monitors/{id}/trigger

Query parameters

ParameterTypeDescription
waitbooleanIf true, the request blocks until the capture completes (up to 90 seconds). Default: false.
bash
# Async (returns immediately with snapshot_id)
curl -X POST https://api.snapshotarchive.com/v1/monitors/42/trigger \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

# Sync (waits up to 90s for result)
curl -X POST "https://api.snapshotarchive.com/v1/monitors/42/trigger?wait=true" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Async response (202)

202 Accepted
{
  "data": {
    "message": "Snapshot queued successfully.",
    "snapshot_id": "9e8f7a6b-5c4d-3e2f-1a0b-9c8d7e6f5a4b"
  }
}
Async capture. After triggering, poll GET /v1/snapshots/{snapshot_id} until status changes from pending to completed or failed. Alternatively, set up webhooks to receive a notification when the capture finishes.
Dashboard showing a completed snapshot triggered via API
Once the snapshot completes, it appears in your Archive with the captured screenshot, timestamp, response time, and HTTP status.