Signed URLs

Screenshots Without
Exposing Your API Key

Generate pre-signed URLs server-side, then embed them in emails, dashboards, or client-side apps. The URL works for anyone, expires automatically, and your API key stays secret.

Server-Side Signing

Generate the signed URL on your backend with a single API call. Share it anywhere: emails, dashboards, Slack messages, client apps.

Configurable Expiry

Set how long the URL stays valid. Default is 1 hour, maximum is 30 days. Expired URLs return a clear error.

Tamper-Proof

HMAC signature ensures parameters cannot be modified. If anyone changes the URL, format, or dimensions, the signature fails.

No API Key Required

Recipients access the screenshot without needing your credentials. The signed URL contains everything needed to authorize the request.

How It Works

Step 1: Sign a URL

GET /v1/sign
curl "https://app.snap-render.com/v1/sign?url=https://example.com&format=png&expires=3600" \
  -H "X-API-Key: sk_live_your_key_here"
Response
{
  "signedUrl": "https://app.snap-render.com/v1/screenshot?url=https%3A%2F%2Fexample.com&format=png&signature=a1b2c3...&expires=1712345678"
}

Step 2: Embed Anywhere

HTML
<!-- In an email template, dashboard, or client app -->
<img
  src="https://app.snap-render.com/v1/screenshot?url=https%3A%2F%2Fexample.com&format=png&signature=a1b2c3...&expires=1712345678"
  alt="Website preview"
  loading="lazy"
/>

Anyone with the URL can view the screenshot. No API key needed. The URL stops working after expiry.

Related Features

Frequently Asked Questions

How long do signed URLs last?
You set the expiry when signing. Default is 1 hour, maximum is 30 days.
When is the screenshot credit charged?
At the time of signing, not when the URL is accessed. This prevents abuse of shared URLs.
Can I revoke a signed URL?
Not individually. You can rotate your API key to invalidate all existing signed URLs.
Can signed URLs use all screenshot parameters?
Yes. Any parameter you can pass to the screenshot API (format, width, device, dark_mode, full_page, quality, etc.) can be included in a signed URL.

Share Screenshots Safely

Sign up in 30 seconds. Start generating signed URLs for free.

Create free account