What does a Mindstamp webhook send?
Three record types. A view record has the watch progress, scores, viewer details, and every answer in the view. An interaction record has one answer or click. A lead record has the viewer’s name, email, phone, and totals. Each is a JSON POST. See how Mindstamp webhooks work for every field.
Are Mindstamp webhooks sent in real time?
No. Mindstamp sends all three types in background processing after the view ends, with no fixed delivery time. To act on each answer as it happens, listen for player events on your page instead. Player events start on the Core plan.
How do I verify a webhook signature?
Each request has an X-Mindstamp-Timestamp header and an X-Mindstamp-Signature header in the form t=timestamp,v1=signature. The signature is an HMAC-SHA256 of the timestamp, a period, and the raw body, made with your webhook key. Compute the same value on your server and compare the two.
Which plan do I need for webhooks?
View webhooks start on the Core plan. Interaction and lead webhooks start on Pro, and so does the REST API. API tokens need a paid plan, so the REST API does not work during a trial. Webhooks do. See pricing.
Do anonymous viewers send webhooks?
View and interaction webhooks fire for anonymous viewers too. A lead webhook needs a known viewer, with a name, email, phone, or custom ID. Most videos get one from lead capture.
Can a webhook send data to Salesforce or another CRM?
Yes, through your own code or an integration service that receives the POST and writes the record. Mindstamp has no Salesforce setting in the app. See Salesforce and Mindstamp for the options.