Coddingpro
Deprixa Pro v8.5.4 — PHP Courier & Logistics Platform | Shipping, Tracking & WhatsApp API

Deprixa Pro — Integrated Courier & Logistics System · Ultramsg API Code Example

This is how Deprixa Pro sends a WhatsApp message internally via the Ultramsg API:

$url = "https://api.ultramsg.com/{instance_id}/messages/chat"; $token = "your_ultramsg_token"; $phone = "57300123456"; // International format, no + $message = "📦 Hello John! Your package #TRK-00123 has been shipped. Track it at: https://yourdomain.com/track";

$params = [ "token" => $token, "to" => $phone, "body" => $message, "priority" => 10 ];

$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch);

▶ Official Ultramsg tutorial: how to set up your WhatsApp API instance.