Skip to content

Receive events

After this page you can have CountViews call your server whenever a clip is filed or decided, a deposit lands, or a campaign starts, pauses or ends. Prefer webhooks to polling; if you cannot expose an endpoint, read events_list instead. It is the same log.

  1. In the workspace open Agent, then Integrations, and add a webhook.
  2. Enter the address and tick the events you want. Untouched events are not sent to that endpoint.
  3. Copy the signing secret (whsec_…) now. It is shown once.
  4. Return 2xx fast, then work. Verify the signature on every request.
Rule Value
Endpoints per workspace 3
Address https, a public name (private and local addresses are refused), port 443 only, no user name or password
Secret whsec_ + 43 characters. One per endpoint. Shown once.
Success Any 2xx within 10 seconds. A redirect is not followed and counts as a failure.

A test space has one webhook of its own, set with sandbox_webhook_set. Nothing flows between a test space and the real account’s endpoints. See Test everything.

Delivery is at least once. The event is written in the same transaction as the fact it reports, so a slow or down receiver never loses it and never slows the brand’s own action down.

Retries After 1 min, 5 min, 30 min, 2 h, 6 h, 12 h, then 24 h
Dead After the last retry the delivery is dead, shown in the workspace with the reason in a category (could not connect, did not answer in time, answered non-2xx, address unusable). Try again requeues it.
Endpoint off After 20 dead deliveries in a row the endpoint is switched off.
Order Not guaranteed. clip.approved can arrive after campaign.ended. Use createdAt and id.
Redirects Never followed.

The envelope is always the same; only data changes with type:

{
"id": "…",
"type": "clip.approved",
"createdAt": "2026-10-20T10:00:00Z",
"data": { "campaignSlug": "spring-2026", "clip": { } }
}

id is identical on every retry of the same event: store it and ignore one you have seen. createdAt is when the event happened, not when this attempt was made. Fields are only ever added; ignore ones you do not know. All 13 types: Event reference.

Rotate secret makes a new secret. For 24 hours the old one stays valid and each delivery carries two v1 signatures, so you can deploy the new secret first and nothing fails. After that the old one is erased.