Captures
Render and store a capture
Renders synchronously and keeps the result, so it stays available at /i/c/{id} and in the dashboard. Pass webhookUrl to be called back when the capture finishes instead of polling — see WebhookPayload.
post/api/captures
Request
- Base URL: https://snaplab.dev
- URL: https://snaplab.dev/api/captures
- Auth: HTTP bearer
Request body
Example request
{
"pdf": {
"pageRanges": "1-3",
"width": "210mm",
"height": "297mm"
},
"filename": "INV-2026-014.pdf"
}Response
The completed capture row.
Changes
No recorded changes to this operation across all 1 revision of this API.