harnessracingapi

Add a webhook

Live

Send results to your https address, for every country or the ones you choose. Up to 10. Each delivery is signed: X-Signature: t=<unix time>,v1=<HMAC-SHA256 of "t.body" with the secret>.

POSThttps://api.harnessracingapi.com/v1/hooks

Try it

Runs against the real API with your key
No key yet? Get a free key and it is filled in here for you.
https://api.harnessracingapi.com/v1/hooks

Parameters

urlstringrequired
Your https address
eventsstring
Events to send, comma separated
result.finalrace.abandonedodds.final
countrystring
One or more country codes, comma separated
FRSENOFIDKBENLDECHATITESHUIEUSCAAUNZ

Returns

One object in data with these fields.

idstring
Our webhook id
urlstring
Your https address
eventsarray
Events it receives
countriesarray
Countries it covers, empty for all
statusstring
active, or disabled after 50 missed deliveries running (a passing test turns it back on)
secret_hintstring
Last four of the signing secret
created_atdatetime
Added, UTC
secretstring
The signing secret, shown once

Example answer

A real answer from the API, read in the last six hours.

{
    "data": {
        "id": "hr_wh_5n2k8qd",
        "url": "https://example.com/hooks/racing",
        "events": [
            "result.final"
        ],
        "countries": [
            "SE",
            "NO"
        ],
        "status": "active",
        "secret_hint": "9f2c",
        "created_at": "2026-11-08T05:40:02Z",
        "secret": "whsec_8f3k2m9q4x7n1d5c"
    },
    "meta": {}
}

Errors