Webhooks
Receive real-time events in your own systems, with Zapier, Make, and signature verification.
Updated
Receive real-time events in your own systems when something happens in vitelnk: a lead captured, a video watched, a CTA clicked. Send them to your own server, or to Zapier, Make or n8n with no code.
Add a webhook endpoint
- Next to your name, click
- Click Settings
- Open the Webhooks tab
- Click Add Endpoint
- Paste your Zapier, Make or n8n URL and pick the events
https:// and be a public server (private and local network addresses are refused)."test": true at the top, next to event, so your own code can skip them. Real events don't have it.Event payload reference
Every event is delivered as an HTTP POST with a JSON body in this shape:
{
"event": "<event.name>",
"timestamp": "<ISO 8601>",
"data": { ... }
}Events from a share link also say which link it was and who watched. share_id (the same id the API returns when it creates a link) and share_url name the link. viewer_name and viewer_email are filled in when vitelnk knows the viewer: a named recipient who opened their personal link, or a viewer who registered with their email. For anyone else they're null.
viewer_email to follow up in Zapier or Make: for example, when video.watched arrives, add that person to your CRM or send them the next email. Only your own endpoints receive it.{
"event": "lead.captured",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": null,
"viewer_email": "[email protected]",
"email": "[email protected]"
}
}{
"event": "video.watched",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"watch_percent": 100,
"threshold_percent": 70
}
}{
"event": "video.progress",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"watch_percent": 50
}
}{
"event": "cta.clicked",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]"
}
}{
"event": "cta_link.clicked",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"link_id": 12,
"link_label": "Book a call",
"link_url": "https://example.com/book"
}
}{
"event": "calendar.clicked",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]"
}
}{
"event": "booking.completed",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]"
}
}{
"event": "video.downloaded",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"file": "original"
}
}{
"event": "extra.downloaded",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"extra_id": 3,
"file_name": "Music licence.pdf",
"size_bytes": 245760
}
}{
"event": "message.received",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"email": "[email protected]",
"message": "Loved this, can we hop on a call?"
}
}{
"event": "feedback.received",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"email": "[email protected]",
"message": "Loved this, can we hop on a call?"
}
}{
"event": "share.viewed",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]"
}
}{
"event": "share.approved",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"decision": "approved",
"note": null,
"email_verified": true,
"version": 1
}
}{
"event": "share.changes_requested",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"video_id": "my-demo-video",
"video_title": "Product Demo",
"share_id": 482,
"share_token": "abc123xyz",
"share_name": "Prospect Link, Acme",
"share_url": "https://vitelnk.com/share/abc123xyz",
"viewer_name": "Jane Smith",
"viewer_email": "[email protected]",
"decision": "changes_requested",
"note": null,
"comments": [
{
"at_second": 12,
"text": "Logo is cut off on the first frame"
},
{
"at_second": 65.4,
"text": "Use the newer product shot here"
}
],
"email_verified": true,
"version": 1
}
}{
"event": "upload_request.started",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"upload_request_id": 42,
"upload_request_title": "Wedding clips: Hannah & Luis",
"uploader_name": "Jane Smith",
"uploader_email": "[email protected]"
}
}{
"event": "upload_request.completed",
"delivery_id": 1234,
"timestamp": "2026-05-03T10:00:00.000Z",
"data": {
"upload_request_id": 42,
"upload_request_title": "Wedding clips: Hannah & Luis",
"uploader_name": "Jane Smith",
"uploader_email": "[email protected]",
"videos_count": 2,
"files_count": 0,
"awaiting_review_count": 2,
"total_bytes": 1874919424,
"incomplete_count": 0,
"items": [
{
"type": "video",
"id": "img-4021",
"title": "IMG_4021",
"status": "awaiting_approval"
},
{
"type": "video",
"id": "img-4022",
"title": "IMG_4022",
"status": "awaiting_approval"
}
]
}
}Check that a delivery is really from vitelnk
When you set a secret on an endpoint, every delivery includes an X-vitelnk-Signature header. The value is sha256=<hex> where the hex is HMAC-SHA256 of the raw request body signed with your secret. Always verify this before processing an event.
const crypto = require('crypto');
function verifySignature(rawBody, signature, secret) {
const expected = 'sha256=' + crypto
.createHmac('sha256', secret)
.update(rawBody)
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(expected),
Buffer.from(signature)
);
}
// Express example
app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
const sig = req.headers['x-vitelnk-signature'];
if (!verifySignature(req.body, sig, process.env.WEBHOOK_SECRET)) {
return res.status(401).send('Invalid signature');
}
const event = JSON.parse(req.body);
console.log('Event:', event.event, event.data);
res.sendStatus(200);
});Connect Zapier
Send an email when they reach a point in the video
The Watch progress event (video.progress) fires at every 10% a viewer plays through (skipping ahead doesn't count). Pick the moment in Zapier or Make and let your email tool send the follow-up.
viewer_email is filled in.watch_percent is your point (for example 50) and viewer_email exists.viewer_email as the email: a tag in Mailchimp, ActiveCampaign, Kit or HubSpot starts that tool's automation, or send it from Gmail or Outlook.Connect Make
If your server is down (retries)
What vitelnk does depends on what your endpoint answers:
| Setting | What it does |
|---|---|
| 2xx | Delivered. |
| 5xx, 408, 429, a timeout or no connection | Your server is down or busy: vitelnk tries again on the schedule below. A 429 with a Retry-After header waits that long instead (up to 10 minutes). |
| 410 Gone | The endpoint is turned off and nothing more is sent to it. Zapier answers 410 once the Zap behind a Catch Hook is deleted. A webhook an app made through the API (Created by an app) is also turned off on a 404. |
| Any other 4xx (400, 401, 403, 404, 422...) | Marked failed straight away: sending the same request again would get the same answer. Check the URL and your server's settings. |
| Setting | What it does |
|---|---|
| 1st retry | 10 seconds |
| 2nd retry | 30 seconds |
| 3rd retry | 60 seconds |
| 4th retry | 5 minutes |
| 5th retry (final) | 10 minutes |
While a delivery waits for a retry it shows as pending. After the 5th retry fails it's marked failed and no further retries occur. The delivery log (the log icon on each endpoint in Settings, Webhooks) shows the status, HTTP code, and attempt count for every delivery. Each endpoint is limited to 100 deliveries per hour to prevent runaway loops. Every delivery carries a delivery_id that stays the same on each retry, so your code can skip one it has already handled.
Related
Frequently asked questions
Email [email protected] and we'll help, usually within a day. Or book a 15-min call.
