A webhook is an HTTP POST that AGNT sends to a developer-supplied URL when an event happens, so that the developer's service can react without polling.
What is Webhook?
Quick answer
A webhook is an HTTP POST that AGNT sends to a developer-supplied URL when an event happens, so that the developer's service can react without polling.
Full definition
AGNT fires webhooks for booking.confirmed, booking.cancelled, and a growing list of commerce events. Each delivery carries an X-Agnt-Signature header containing an HMAC-SHA256 of the raw body using the webhook secret. Signatures are valid for five minutes after the event timestamp.
Failed deliveries are retried with exponential backoff up to a cap, and every attempt is visible in the developer dashboard for replay. Secrets can be rotated without downtime.
Code example
Verifying an AGNT webhook signature in Node
import crypto from "node:crypto";
function verify(rawBody, signature, secret) {
const mac = crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(mac), Buffer.from(signature));
}FAQ
Webhook FAQ.
Common questions about Webhook in the AGNT platform.
A webhook is an HTTP POST that AGNT sends to a developer-supplied URL when an event happens, so that the developer's service can react without polling.
People also ask.
Source: agnt-backend/app/routers/webhook.py
Share as social post
What is Webhook? A webhook is an HTTP POST that AGNT sends to a developer-supplied URL when an event happens, so that the developer's service can react without polling. https://agntdot.com/glossary/webhook
206 / 280 chars
See it in action.
Now you know what Webhook means. Try the live scan demo or read the developer docs to go deeper.