Endpoint
screenshot.deleted webhook event if configured.
Headers
Path parameters
string
required
The unique ID of the screenshot to delete.
Response
200 OK
number
Size of the deleted image file in bytes.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/screenshots/ — permanently delete a screenshot and its image.
DELETE https://api.screenshotly.dev/v1/screenshots/{screenshotId}
screenshot.deleted webhook event if configured.
| Header | Required | Description |
|---|---|---|
X-API-Key | Yes | Your API key |
{
"success": true,
"message": "Screenshot successfully deleted",
"data": {
"_id": "67b8a1c2d3e4f5a6b7c8d9e0",
"url": "https://example.com",
"status": "completed",
"isDeleted": true,
"deletedAt": "2025-05-15T08:00:00.000Z",
"deletedSize": 245760
}
}
| Status | Code | Description |
|---|---|---|
| 401 | missing_api_key / invalid_api_key | Invalid or missing API key |
| 403 | forbidden | You don’t own this screenshot |
| 404 | not_found | Screenshot ID doesn’t exist |
curl -X DELETE https://api.screenshotly.dev/v1/screenshots/67b8a1c2d3e4f5a6b7c8d9e0 \
-H "X-API-Key: $SCREENSHOTLY_API_KEY"
