SDKs and integrations
Zapier, Make and n8n
Use shotsmith from Zapier, Make or n8n without writing code. All three use the same API key and offer the same building blocks.
| Step | Zapier | Make | n8n |
|---|---|---|---|
| Take a screenshot | ✓ | ✓ | ✓ |
| Create a PDF | ✓ | ✓ | ✓ |
| Get page content (Markdown) | ✓ | ✓ | ✓ |
| Start monitoring a page | ✓ | ✓ | ✓ |
| Find or list captures | ✓ | ✓ | ✓ |
| Instant trigger: capture finished or failed | ✓ | ✓ | ✓ |
| Instant trigger: monitored page changed | ✓ | ✓ | ✓ |
| File passed on directly | ✓ | Via HTTP › Get a file | ✓ as binary data |
Cookie banners, ads, chat widgets and bot checks are handled by default in all three, so a basic step needs only a URL.
Connect
- Create a key in API keys just for the integration, so you can limit or revoke it on its own. Turn off “Require signed requests” for that key.
- Paste the access key when the tool asks you to connect. The connection shows your team and key name once it works.
Triggers
Triggers are instant. When you turn on a Zap, a Make scenario or an n8n workflow, it registers a webhook with your team. When you turn it off, the webhook is removed. You can see and pause these under Webhooks › Event subscriptions, labelled with the tool that created them.
capture.succeeded: any API capture finished, including async and bulk.capture.failed: an API capture failed. The error code and message are included.monitor.changed: a monitored page changed by more than its threshold. Includes the percent changed, the new capture and an image with the changes highlighted.monitor.failed: a monitor failed three runs in a row.
Example: alert the team when a competitor’s pricing page changes
- Add Start monitoring a page once, or create the monitor in the dashboard. Set it to daily with a 2% threshold.
- Build a flow that starts with the Monitored page changed trigger.
- Add Get page content on the monitor’s URL, then an AI step that summarises what changed.
- Post the summary and the highlighted changes image to Slack.
Use the API directly
The triggers are built on a public endpoint, so you can subscribe your own URLs too. Deliveries are signed in X-Shotsmith-Signature, the same as capture webhooks.
curl -X POST "https://shotsmith.dev/v1/webhooks" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/hooks/shotsmith",
"events": [
"monitor.changed"
]
}'
const res = await fetch('https://shotsmith.dev/v1/webhooks', {
method: 'POST',
headers: {
'X-Access-Key': 'YOUR_ACCESS_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
url: 'https://example.com/hooks/shotsmith',
events: ['monitor.changed'],
}),
});
if (!res.ok) throw new Error((await res.json()).error_message);
console.log(await res.json());
import json
import urllib.request
body = {
"url": "https://example.com/hooks/shotsmith",
"events": ["monitor.changed"]
}
req = urllib.request.Request(
"https://shotsmith.dev/v1/webhooks",
data=json.dumps(body).encode(),
headers={"X-Access-Key": "YOUR_ACCESS_KEY", "Content-Type": "application/json"},
method="POST",
)
# Raises urllib.error.HTTPError on a 4xx/5xx response
with urllib.request.urlopen(req, timeout=60) as res:
print(json.load(res))
<?php
$ch = curl_init('https://shotsmith.dev/v1/webhooks');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => ['X-Access-Key: YOUR_ACCESS_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'url' => 'https://example.com/hooks/shotsmith',
'events' => ['monitor.changed'],
]),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
]);
$response = json_decode(curl_exec($ch), true);
if (curl_getinfo($ch, CURLINFO_RESPONSE_CODE) >= 400) {
throw new RuntimeException($response['error_message']);
}
print_r($response);
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"url": "https://example.com/hooks/shotsmith",
"events": [
"monitor.changed"
]
}`)
req, _ := http.NewRequest("POST", "https://shotsmith.dev/v1/webhooks", body)
req.Header.Set("X-Access-Key", "YOUR_ACCESS_KEY")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
require "net/http"
require "json"
body = {
"url" => "https://example.com/hooks/shotsmith",
"events" => ["monitor.changed"]
}
res = Net::HTTP.post(
URI("https://shotsmith.dev/v1/webhooks"),
body.to_json,
"X-Access-Key" => "YOUR_ACCESS_KEY",
"Content-Type" => "application/json"
)
raise res.body unless res.is_a?(Net::HTTPSuccess)
puts JSON.parse(res.body)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Request {
public static void main(String[] args) throws Exception {
var body = """
{
"url": "https://example.com/hooks/shotsmith",
"events": [
"monitor.changed"
]
}
""";
var request = HttpRequest.newBuilder(URI.create("https://shotsmith.dev/v1/webhooks"))
.header("X-Access-Key", "YOUR_ACCESS_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
var res = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(res.body());
}
}
using System;
using System.Net.Http;
using System.Text;
using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Access-Key", "YOUR_ACCESS_KEY");
var body = """
{
"url": "https://example.com/hooks/shotsmith",
"events": [
"monitor.changed"
]
}
""";
var res = await http.PostAsync(
"https://shotsmith.dev/v1/webhooks",
new StringContent(body, Encoding.UTF8, "application/json")
);
res.EnsureSuccessStatusCode();
Console.WriteLine(await res.Content.ReadAsStringAsync());
Content-Type: application/json
{
"id": "01m8kvpkhde6hh070myxk3fvhv",
"url": "https://example.com/hooks/shotsmith",
"events": [
"monitor.changed"
],
"source": "api",
"description": null,
"is_active": true,
"last_delivered_at": null,
"created_at": "2026-11-29T14:35:16+00:00",
"signing_secret_hint": "Deliveries are signed with your team webhook secret in X-shotsmith-Signature."
}
GET /v1/webhooks lists subscriptions and DELETE /v1/webhooks/{id} removes one. If your endpoint returns 410 Gone, the subscription is removed. After 20 failed deliveries in a row, it’s paused.