Pro
This reference is open to everyone. Calls need an API key, and keys come with Pro at no extra charge.
Compare plans →
Getting started
Webhooks
Add an address in Organization settings → Integrations → Webhooks (or with POST /v1/webhook_endpoints) and CocoScout sends it a POST when something happens.
order.paidorder.refundedorder.movedticket.checked_inshow.changedshow.canceledregistration.confirmedregistration.refundedfollower.addedfollower.unsubscribed
What your server receives
POST https://example.com/cocoscoutCocoScout-Signature: t=1764600400,v1=5f2b…{ "id": "evt_4kQ…", "type": "order.paid", "created_at": "2026-12-01T14:06:40-06:00", "organization_id": 3, "data": { "order": { "code": "K7Q2", "total_cents": 4150, … } }}
Checking the signature
v1 is HMAC-SHA256 of "<t>.<raw body>" with the endpoint's signing secret. Compute it, compare, and reject a t more than five minutes old.
Node.js
const [t, v1] = header.split(",").map(p => p.split("=")[1]);const expected = crypto.createHmac("sha256", SECRET).update(`${t}.${rawBody}`).digest("hex");const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1)) && Math.abs(Date.now() / 1000 - Number(t)) < 300;
- Answer with any 2xx within ten seconds. Anything else is tried again for about three days.
- After 50 failures in a row the webhook is turned off, and whoever made it gets a notification. Turn it back on from the Webhooks page.
- An event can arrive more than once. Use its
idto skip ones you've seen.