Skip to main content

Tracker Webhook Delivery

Webhooks push changes to your server automatically. First create a tracker, then register an HTTPS callback. WHR sends a POST to that URL when a tracked event changes or a tracked company's event participation changes. Use Tracker Monitor to reconcile missed notifications within its 2-year history.

Register a callback​

curl -X POST 'https://api.10times.com/v1.1/tracker/webhook/upsert' \
-H 'Username: YOUR_USERNAME' \
-H 'Password: YOUR_PASSWORD' \
--data-urlencode 'id=TRACKER_UUID' \
--data-urlencode 'url=https://client.example.com/webhooks/whr' \
--data-urlencode 'enabled=1'
  • One destination per tracker.
  • The url must be a publicly reachable HTTPS URL. Private, local and internal addresses are rejected, and the address is checked again before every delivery.
  • Store the signingSecret returned when you create the webhook or rotate its secret. It is not shown again.
  • Send enabled=0 to pause delivery, or rotateSecret=1 to issue a new secret.

What gets delivered: changes detected after the webhook is created, or after it is enabled again. Changes from before that, or from while it was paused, are not sent; read them from Tracker Monitor. The past changes from the last 2 years that are added when an event or company is first tracked are also not sent; they appear only in Tracker Monitor.

Timing: WHR checks tracked events and companies for changes about every 15 minutes, and sends them shortly after. A change normally reaches you within about 25 minutes.

Incoming request from WHR​

POST /webhooks/whr HTTP/1.1
Content-Type: application/json
User-Agent: WHR-Webhooks/1.0
X-WHR-Event: tracker.change
X-WHR-Delivery-Id: 02cf9d9b3470ecf1237a0c77ef142cd3
X-WHR-Timestamp: 1793970000
X-WHR-Signature: v1=<hex-hmac-sha256>
HeaderMeaning
X-WHR-EventAlways tracker.change for now.
X-WHR-Delivery-IdUnique id of this delivery (32-character hex). It stays the same on every retry of the same delivery.
X-WHR-TimestampUnix time (seconds) when this attempt was signed. It is new on every attempt.
X-WHR-Signaturev1= followed by the HMAC-SHA256 signature. See Verify webhook signatures.

Body​

The body is a JSON array of messages. Each message has:

FieldMeaning
webhookIdYour webhook's id (32-character hex).
trackerIdThe tracker's id (32-character hex).
changeOne change record, with the same changeId and shape as the matching Tracker Monitor record.

Today each POST carries one message. More than one may be sent in a single POST in the future, so always loop over the array.

Event tracker example​

Event trackers send changeType: "event.updated". event is the tracked event as it is now, and changes lists the fields that changed. A change to both dates gives two entries.

[
{
"webhookId": "26d983bcd457b1d35b5b356797e61104",
"trackerId": "68291e18e3e5fdd9c348a78f45c21227",
"change": {
"changeId": "61aa89d265483fb0f7159b774114d29f",
"changeType": "event.updated",
"event": {
"uuid": "dffc5b4c781dcd41f68bbdd938e93518",
"name": "Global Technology Expo",
"entity": [
{"type": "city", "name": "New Delhi", "state": "Delhi"},
{"type": "country", "name": "India"},
{"type": "venue", "name": "Pragati Maidan", "latitude": 28.612646, "longitude": 77.243358}
],
"dates": {"startDate": "2027-03-12", "endDate": "2027-03-14"}
},
"changes": [
{"field": "start_date", "oldValue": "2027-03-10", "newValue": "2027-03-12"},
{"field": "end_date", "oldValue": "2027-03-12", "newValue": "2027-03-14"}
]
}
}
]

field is one of: city, country, venue, organizer, start_date, end_date, published, type, attendee_count, exhibitor_count, sponsor_count, speaker_count. The *_count fields have numbers as values; the other fields have names, or dates in YYYY-MM-DD format.

Company tracker example​

Company trackers send changeType: "participant.added" or "participant.removed" when a tracked company starts or stops taking part in an event's current edition. participantEvent describes that event.

[
{
"webhookId": "f20ddc03e80256f23e789ae036afa492",
"trackerId": "671f30e883eefe5f9ab05b6592c6380d",
"change": {
"changeId": "16f909bd37f502304a6ddb193424336a",
"changeType": "participant.added",
"company": {
"uuid": "1997eab94c5ea7e06a85f29a31a5c1c4",
"name": "Fiero Tees",
"entity": [
{"type": "city", "name": "Greater Noida"},
{"type": "country", "name": "India"}
]
},
"participantEvent": {
"eventUuid": "439eaa17f7c4ff66fa3791769cb21e56",
"name": "Global Technology Expo",
"participationType": "organizer",
"entity": [
{"type": "city", "name": "New Delhi", "state": "Delhi"},
{"type": "country", "name": "India"},
{"type": "venue", "name": "Pragati Maidan", "latitude": 28.612646, "longitude": 77.243358}
],
"dates": {"startDate": "2026-12-12", "endDate": "2026-12-12"}
}
}
}
]

participationType is one of: attendee, exhibitor, sponsor, organizer, speaker.

In both record types, entity lists only the values that are set: city (with state), country, and, for events, the venue of the current edition. Companies have no venue.

Verify webhook signatures​

WHR signs the raw HTTP request body with the secret of your webhook:

signed_content = X-WHR-Timestamp + "." + raw_request_body
X-WHR-Signature = "v1=" + hex(HMAC_SHA256(signingSecret, signed_content))
  1. Read the raw body bytes before parsing the JSON.
  2. Compute the expected signature and compare it with X-WHR-Signature using a constant-time comparison.
  3. Reject the request if the timestamp is more than 5 minutes from your clock.
  4. Reject invalid requests, and never log the signing secret.

Acknowledgment, retries, and recovery​

Return HTTP 2xx only after you have durably accepted the delivery. Respond within 10 seconds: store the messages, return 2xx, and do any slower processing afterwards.

Delivery policy:

  • Unsuccessful responses: any non-2xx response, a timeout (10 seconds), or a connection or TLS error. Redirects are not followed and count as unsuccessful.
  • Retries: an unsuccessful delivery is retried 3 times, 5 minutes apart (4 attempts in total). It is then marked failed and not sent again.
  • Failing endpoints: while your endpoint is failing, its other pending deliveries wait about a minute before they are tried.
  • Paused webhooks: pending deliveries are dropped when the webhook is paused or the tracker is hidden.

Duplicates and order:

  • Delivery is at least once: you may receive the same change more than once. Deduplicate on (trackerId, change.changeId).
  • Changes are sent oldest first, but retries can deliver them out of order. Don't rely on arrival order.

Recovery: keep a saved Tracker Monitor cursor. Webhook receipt does not move it. After an outage, or for deliveries that failed, read the missed changes from Tracker Monitor. It keeps 2 years of change history and uses the same changeId, so you can match them against what you already received.