โก Webhooks Configuration
Subscribe to archive events, automate crawls, and receive real-time notifications for domain changes and restoration tasks.
๐ Endpoint URL
Active
Used to verify payload signatures
๐ก Subscribed Events
4 Active
-
โpage.archivedTriggered when a URL is successfully crawled & stored
-
โcrawl.completedBatch crawl job finishes processing all queued URLs
-
domain.expiredWatched domain registration expires or goes offline
-
โmetadata.updatedArchive tags, descriptions, or preservation status changes
-
โexport.readyWARC/HTML export bundle is ready for download
๐ฆ Payload Structure
{
// Webhook Event Payload
"id": "evt_8f3a2b1c9d0e",
"event": "page.archived",
"timestamp": "2024-03-15T14:32:08Z",
"data": {
"url": "https://geocities.com/Area51/Retrowave",
"status": "200",
"size_bytes": 42853,
"format": "warc1.1",
"preservation_tier": "gold"
},
"signature": "sha256=8f3a...c9d0"
}
๐ Signature Verification
All payloads are signed using HMAC-SHA256. Verify the X-1990-Signature header before processing.
- โข Header:
X-1990-Signature: sha256={hash} - โข Algorithm: HMAC-SHA256
- โข Secret: Your webhook secret key
const crypto = require('crypto'); const valid = crypto.createHmac('sha256', secret) .update(payload) .digest('hex'); // Compare with header signature
๐ Delivery Logs
| Status | Event | Response | Timestamp | ID | Action |
|---|---|---|---|---|---|
| Delivered | page.archived | 200 OK | 2024-03-15 14:32:08 | del_9f8e7d6c | |
| Failed | crawl.completed | 502 Bad Gateway | 2024-03-15 13:15:42 | del_8e7d6c5b | |
| Delivered | metadata.updated | 200 OK | 2024-03-15 11:04:19 | del_7d6c5b4a | |
| Pending | export.ready | โ | 2024-03-15 09:22:01 | del_6c5b4a3z |