Webhooks
Receive real-time notifications when events occur in SnipLink. React instantly to link creation, updates, deletions, and clicks—no polling required.
Quick Example
{
"id": "evt_abc123",
"type": "link.created",
"timestamp": "2024-02-06T12:00:00.000Z",
"workspaceId": "ws_abc123",
"data": {
"link": {
"id": "lnk_123456",
"url": "https://example.com/destination",
"shortUrl": "https://snip.link/abc123",
"slug": "abc123",
"createdAt": "2024-02-06T12:00:00.000Z"
}
}
}Get Started
Set up your first webhook in 5 minutes. Learn how to create endpoints, test locally, and handle events.
Quick Start GuideEvent Types
Complete reference for all webhook events with detailed payload structures, examples, and best practices.
Events ReferenceSecurity
Verify webhook signatures with HMAC-SHA256, prevent replay attacks, and secure your endpoints.
Security GuideCommon Use Cases
Real-Time Notifications
Send Slack/Discord messages when new links are created or when links receive their first click.
Analytics Sync
Automatically sync link data to your data warehouse or analytics platform as events occur.
Workflow Automation
Trigger custom workflows when links are updated or expire, integrate with Make.com, Zapier, or n8n.
Audit Logging
Maintain detailed audit logs of all link operations for compliance and security purposes.