UJUMBE.cdSMS Marketing RDC
UJUMBE DEVELOPER PLATFORM

Documentation API interactive

Consultez le contrat OpenAPI, renseignez une clé API et exécutez les endpoints documentés. Les appels « Try it out » sont réels : utilisez une clé sandbox pour vos essais.

Gérer mes clés APIOpenAPI JSONCollection Postman

Premier SMS dans votre langage

curl
curl -X POST https://ujumbe.eldnet.tech/api/v1/sms/send \
+  -H "Authorization: Bearer VOTRE_CLE" \
+  -H "Content-Type: application/json" \
+  -d '{"to":"+243970000000","message":"Bonjour","senderId":"UJUMBE"}'
JavaScript
await fetch("https://ujumbe.eldnet.tech/api/v1/sms/send", {
  method: "POST",
  headers: { Authorization: "Bearer VOTRE_CLE", "Content-Type": "application/json" },
  body: JSON.stringify({ to: "+243970000000", message: "Bonjour", senderId: "UJUMBE" })
});
PHP
$ch = curl_init("https://ujumbe.eldnet.tech/api/v1/sms/send");
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer VOTRE_CLE", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode(["to" => "+243970000000", "message" => "Bonjour", "senderId" => "UJUMBE"])]);
$response = curl_exec($ch);
Python
requests.post("https://ujumbe.eldnet.tech/api/v1/sms/send", headers={"Authorization": "Bearer VOTRE_CLE"}, json={"to": "+243970000000", "message": "Bonjour", "senderId": "UJUMBE"})