WhatsApp Business API
Send and receive messages, media, and notifications through the WhatsApp Business platform directly from your Delphi applications.
Send and receive messages, media, and notifications through the WhatsApp Business platform directly from your Delphi applications.
Connect your Delphi applications to the WhatsApp Business API for automated messaging, customer support, and notifications at scale.
The sgcWebSockets WhatsApp Business API component enables your applications to interact with the WhatsApp Cloud API. Send text messages, images, documents, and template messages to customers worldwide. Handle incoming messages with event-driven callbacks and build automated workflows.
Send a WhatsApp message in just a few lines of code.
uses
sgcHTTP_API_WhatsApp;
var
WhatsApp: TsgcHTTPAPI_WhatsApp;
procedure TForm1.SendMessage;
begin
WhatsApp := TsgcHTTPAPI_WhatsApp.Create(nil);
WhatsApp.WhatsAppOptions.ApiKey := 'your-api-token';
WhatsApp.WhatsAppOptions.PhoneNumberId := 'your-phone-id';
// Send a text message
WhatsApp.SendTextMessage('+1234567890',
'Hello from sgcWebSockets!');
end;
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.