ALL SYSTEMS OPERATIONAL · 38 EDGE PoPs UPTIME 99.99% · SUPPORT < 5MIN
Help / API & Integrations
API & INTEGRATIONS

Verifying webhook signatures

Updated by Premium Hosting Admin · Aug 6, 2026 · 85 views

Headers we send:

  • X-Premium Hosting-Signature: t=TIMESTAMP,v1=HASH
  • X-Premium Hosting-Event
  • X-Premium Hosting-Delivery-Id

Verify it

$expected = hash_hmac("sha256", $rawBody, $signingSecret);\nif (!hash_equals($expected, $providedHash)) abort(400);

Was this helpful?

Related articles

Setting up your first API token