Table of Contents

TMS FNC WhatsApp Server — Guides

Starting the webhook server

Set Port, configure your SSL certificate, then set Active := True:

{ Start the WhatsApp webhook server on port 443: }
WhatsAppServer1.Port := 443;
WhatsAppServer1.Active := True;

Webhook verification

WhatsApp sends a GET challenge request when you register the webhook URL. Handle the OnVerifyToken or equivalent event to return the hub challenge value that WhatsApp expects, confirming your endpoint is valid.

SSL setup

Configure TLS version and certificate details through the SSL properties before setting Active := True. A valid certificate from a trusted authority is required for WhatsApp webhook delivery.

See also