Webhooks
1 webhook
Your Webhooks
About Webhooks
Webhooks let you receive HTTP POST notifications when events occur in AdServerX. Each request is signed with an HMAC-SHA256 signature for security.
Verify signatures:
$signature = hash_hmac('sha256', $rawBody, $secret);
if (!hash_equals('sha256=' . $signature, $_SERVER['HTTP_X_ADSRVX_SIGNATURE'])) {
// Invalid signature — reject request
}
Your endpoint must respond with a 2xx HTTP status within 5 seconds. Failed deliveries are retried up to 5 times with exponential backoff.