API & integrations

Webhooks

Webhooks push goal completions and traffic alerts to your endpoint, Slack, Zapier, or your own service, seconds after they happen.

6 min read Updated June 2026 API & integrations
$ curl api.bobray.com/v1 -H "Authorization: Bearer" {"visitors": 48210,"pageviews": 112094}

Available events

Payload and signature

POST https://yourapp.example/hooks/bobray
X-BobRay-Signature: sha256=8f3a…

{
  "event": "goal.completed",
  "site": "br_7fk2mq",
  "goal": "signup",
  "page": "/pricing",
  "meta": { "plan": "growth" },
  "occurred_at": "2026-06-29T14:03:22Z"
}

Verify the HMAC-SHA256 signature with your endpoint's secret before trusting a payload.

Delivery semantics

Common pitfalls

The mistakes we see most often on this topic, so you can skip them entirely.

Quick reference

SignatureX-BobRay-Signature: sha256=…
Retries1 m, 5 m, 30 m
Test fireSettings → Webhooks → Send test
Ack windowRespond 2xx < 10 s
Did this solve it? If not, write to support with your site ID, a real person replies within one business day.