Allscreenshots
Sign inGet an API key

Capture every Netlify deploy preview

Visual snapshots for every branch deploy and pull request

Integrate screenshot capture with your Netlify deployment pipeline. Automatically capture screenshots of deploy previews on every pull request and get visual confirmation that your site looks correct before merging.

Connect in 4 steps

  1. 1

    Add a deploy notification

    Set up a Netlify outgoing webhook that fires on successful deploys.

  2. 2

    Build a webhook handler

    Create a serverless function that receives the deploy event and captures a screenshot.

  3. 3

    Capture the deploy preview

    Use the deploy preview URL from the webhook payload to capture the screenshot.

  4. 4

    Share with your team

    Post the screenshot to Slack, add it as a PR comment, or store it for later review.

Netlify Deploy Notification Handler

javascript
1// Netlify Function: functions/screenshot-on-deploy.js 2export default async (req) => { 3 const { url, branch, deploy_id } = await req.json(); 4 5 // Capture screenshot of the deploy preview 6 const response = await fetch( 7 'https://api.allscreenshots.com/v1/screenshots', 8 { 9 method: 'POST', 10 headers: { 11 'X-API-Key': process.env.SCREENSHOT_API_KEY, 12 'Content-Type': 'application/json', 13 }, 14 body: JSON.stringify({ 15 url, 16 fullPage: true, 17 responseType: 'url', 18 viewport: { width: 1920, height: 1080 }, 19 }), 20 } 21 ); 22 23 const { storageUrl } = await response.json(); 24 console.log(`Deploy ${deploy_id} (${branch}): ${storageUrl}`); 25 26 return new Response(JSON.stringify({ storageUrl }), { 27 status: 200, 28 }); 29};

Built for Netlify

Deploy preview visibility

See what every deploy preview looks like without navigating to each URL manually.

Branch-level screenshots

Capture screenshots for feature branches, staging, and production independently.

Simple webhook setup

Netlify's outgoing webhook notifications make it easy to trigger screenshot captures.

Questions

How do I set up deploy notifications in Netlify?

Go to Site settings > Build & deploy > Deploy notifications > Add notification > Outgoing webhook for deploy succeeded.

Can I capture screenshots for specific branches only?

Yes. Check the branch field in the webhook payload and only trigger captures for the branches you want to monitor.

Does this work with Netlify Functions?

Yes. You can deploy the webhook handler as a Netlify Function in the same project, keeping everything in one place.

Keep exploring

Start with one request

Free plan: 100 screenshots. No credit card.

Get an API key
  • Full-page captures
  • Popups and repeated sticky bars removed
  • Markdown, JSON and PDF output
  • Crawl a site from one URL
  • Desktop, tablet and phone in one image
  • Works in n8n, Make and Zapier
  • MCP server for AI assistants