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

Where to find it
  1. Next to your name, click
  2. Click Settings
  3. Open the Webhooks tab
  4. Click Add Endpoint
  5. Paste your Zapier, Make or n8n URL and pick the events
Show me how in the app
1
Paste your server, Zapier, Make or n8n URL in Endpoint URL. It must start with https:// and be a public server (private and local network addresses are refused).
2
Optionally add a Secret: vitelnk signs every delivery with HMAC-SHA256 so you can verify it's genuine.
3
Tick the Events to receive, leave Active on, and click Add Endpoint.
4
Click the play icon on the endpoint: Send test ping checks that it's reachable, and under Send a sample each event you ticked sends an example with every field filled in (your newest share link and an example viewer, Jane Smith). The log icon (View delivery log) shows every delivery.
💡 Samples have "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:

JSON
{
  "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.

💡 Use 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.
lead.captured
Fired when a viewer submits the viewer registration form on a share page.
JSON
{
    "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]"
    }
}
video.watched
Fired when a viewer reaches the link's watch threshold (70% by default, set per video or per link) and at 100%.
JSON
{
    "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
    }
}
video.progress
Fired at every 10% step a viewer reaches (10%, 20% ... 100%), with `watch_percent`. Filter on `watch_percent` in Zapier or Make to act at the point you pick. Each step fires once per viewer, and a reload within 12 hours doesn't send it again.
JSON
{
    "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
    }
}
cta.clicked
Fired when a viewer clicks the primary CTA button.
JSON
{
    "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]"
    }
}
cta_link.clicked
Fired when a viewer clicks one of the secondary/social links below the video.
JSON
{
    "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"
    }
}
calendar.clicked
Fired when a viewer engages with an embedded Cal.com or Calendly calendar on the share page. Only available for Cal.com and Calendly CTAs: vitelnk uses each provider's own embed SDK to detect this reliably. A custom/raw embed has no tracking for this event.
JSON
{
    "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]"
    }
}
booking.completed
Fired when a viewer completes a booking through an embedded Cal.com or Calendly calendar. Only available for Cal.com and Calendly CTAs, see calendar.clicked above.
JSON
{
    "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]"
    }
}
video.downloaded
Fired when a viewer downloads a file from the share page. "file" is "original" for the original upload, or the quality (e.g. "1080p") for an MP4 download.
JSON
{
    "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"
    }
}
extra.downloaded
Fired when a viewer downloads one of the video's extras (a file you attached on its Settings tab) from a share link. Has the file's name and size. Not fired for the video itself (that is video.downloaded).
JSON
{
    "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
    }
}
message.received
Fired when a viewer submits a message through the viewer messages form.
JSON
{
    "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?"
    }
}
feedback.received
Fired when a viewer submits reaction/feedback on the share page.
JSON
{
    "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?"
    }
}
share.viewed
Fired when a share link page is opened by a viewer (not the video owner).
JSON
{
    "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]"
    }
}
share.approved
Fired when a viewer clicks Approve on a link with Client review on. email_verified is true for a named person or an email confirmed with a code (approvals always are).
JSON
{
    "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
    }
}
share.changes_requested
Fired when a viewer clicks Request changes on a link with Client review on: the notes pinned on the video in comments (at_second, text) and anything typed in the box in note.
JSON
{
    "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
    }
}
upload_request.started
Fired when someone starts sending files to one of your upload links, once per sender visit.
JSON
{
    "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]"
    }
}
upload_request.completed
Fired when a sender has finished: a summary of everything they sent in that visit, with one item per video or file.
JSON
{
    "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.

JavaScript
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

1
In Zapier, create a new Zap and choose Webhooks by Zapier as the trigger app.
2
Select Catch Hook as the trigger event, then click Continue.
3
Copy the unique webhook URL that Zapier generates.
4
In vitelnk, click Webhooks in the sidebar, then Add Endpoint, and paste the Zapier URL in Endpoint URL (the hint under it links back here).
5
Select the events you want to receive (e.g. lead.captured), then save.
6
Back in Zapier, click Test trigger: Zapier waits for a delivery. On the vitelnk endpoint, click the play icon and pick the event under Send a sample (for example video.watched).
7
Once Zapier captures the payload, map the fields (event, data.viewer_email, data.video_title, etc.) to your action app (HubSpot, Google Sheets, Slack, etc.).
8
Click Publish to turn on the Zap.

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.

1
Send each prospect their own magic link (Named people (magic links) on the share link), so viewer_email is filled in.
2
Next to your name, click , then Settings, the Webhooks tab and Add Endpoint. Paste your Zapier or Make URL, tick Watch progress (every 10%, filter on watch_percent) and click Add Endpoint.
3
In Zapier, add a Filter step: only continue if watch_percent is your point (for example 50) and viewer_email exists.
4
Add your email tool's step with 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.
💡 One full watch is 10 deliveries, and each endpoint takes up to 100 an hour. Give Watch progress its own endpoint. Step by step: Send a follow-up email when they watch.

Connect Make

1
In Make, create a new Scenario and add a Webhooks module as the trigger.
2
Choose Custom webhook and click Add, then copy the generated URL.
3
In vitelnk, click Webhooks in the sidebar, then Add Endpoint, and paste the Make URL.
4
Select your events and save. Then click Run once in Make to start listening.
5
In vitelnk, click the play icon on the endpoint and pick an event under Send a sample. Make captures the payload structure, with every field, automatically.
6
Add your action modules (Google Sheets, Slack, HubSpot CRM, etc.) and map the fields.
7
Activate the Scenario.

If your server is down (retries)

What vitelnk does depends on what your endpoint answers:

SettingWhat it does
2xxDelivered.
5xx, 408, 429, a timeout or no connectionYour 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 GoneThe 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.
SettingWhat it does
1st retry10 seconds
2nd retry30 seconds
3rd retry60 seconds
4th retry5 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.

💡 An endpoint turned off by a 410 says so on the Webhooks page. If you made a new Zap or scenario, click Edit, paste its new URL and switch Active on. Send a sample always sends once, even to an endpoint that's off, and shows what it answered.

Frequently asked questions

Was this page helpful?
Still stuck?

Email [email protected] and we'll help, usually within a day. Or book a 15-min call.