Loading documentation…
Loading documentation…
Verify a signed notification offline, then receive a test delivery for your Project.
Start with the offline signature check or run the Python receiver example. To receive a delivery, sign in to SteamCall, select a Project you can access, and give your receiver a public HTTPS URL.
Run this Python 3 example with the published synthetic key and exact request bytes. It needs only the standard library.
import base64
import hmac
# Fixed test data from the SteamCall signing vector.
key = bytes(range(32))
signature = "9RI7i4CZsiAsWLir75nAmGFJ8r29fNHYgrSOyXkfgR4"
timestamp = b"1789216928"
event_id = b"evt_11111111111141118111111111111111"
raw = (
b'{"id":"evt_11111111111141118111111111111111","version":1,'
b'"type":"inventory.refresh.completed","occurred_at":"2026-09-12T12:42:08Z",'
b'"project_id":"prj_22222222222242228222222222222222",'
b'"data":{"refresh_id":"33333333-3333-4333-8333-333333333333",'
b'"state":"completed","outcome":"complete_changed"},'
b'"links":{"refresh":"/v2/steam/inventory-refreshes/33333333-3333-4333-8333-333333333333"}}'
)
expected = base64.urlsafe_b64decode(signature + "=")
computed = hmac.digest(key, b".".join((timestamp, event_id, raw)), "sha256")
if not hmac.compare_digest(computed, expected):
raise SystemExit("Invalid signature")
print("Signature verified")Expected output is Signature verified. Add one space to the raw body and run it again to see Invalid signature. This check uses a fixed test timestamp. Your HTTP receiver must also check timestamp freshness and the subscription details.
webhook.test request at your receiver and a successful attempt in the endpoint's delivery history. The synthetic delivery appears in webhook history.inventory.refresh.completed or inventory.refresh.failed in Events → Activity and compare its event ID with the signed delivery.SteamCall checks DNS before each attempt. Use a direct public destination and keep credentials and query tokens out of the URL.
The request includes Webhook-Id, Webhook-Timestamp, Webhook-Signature and Webhook-Attempt-Id. The signature header contains one or two space-separated entries of the form v1:whk_KEY_ID:BASE64URL_HMAC_WITHOUT_PADDING.
Webhook-Id, a period and the unchanged body bytes. Decode the configured 43-character unpadded base64url secret to its original 32 bytes. Compare decoded signatures in constant time using a recognized key ID and require canonical encoding.id against Webhook-Id. Check Project, type and version against the endpoint configuration. Use the attempt ID for diagnostics.(endpoint_id, event_id) key. A repeat with the same hash can return success again. Fail the request if storage fails or the hash conflicts.See delivery guarantees, endpoint lifecycle and troubleshooting.