Everything you need to integrate notif.ml in your application.
https://api.notif.mlSend your first message with a single request:
curl -X POST https://api.notif.ml/api/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+1234567890",
"channel": "whatsapp",
"message": "Your order #1234 is ready"
}'torequiredstringRecipient phone number in international format (e.g., +1234567890)
channelrequiredstringDelivery channel: whatsapp or sms
messagerequiredstringThe text content of your message
mediaUrloptionalstringURL of an image, video, or document to attach (WhatsApp only)
captionoptionalstringCaption for media attachments
templateoptionalstringWhatsApp template name for pre-approved messages
buttonsoptionalarrayInteractive buttons for WhatsApp messages
{
"to": "+1234567890",
"channel": "whatsapp",
"message": "Here's your invoice",
"mediaUrl": "https://example.com/invoice.pdf",
"caption": "Invoice #1234"
}{
"to": "+1234567890",
"channel": "whatsapp",
"message": "Your order is ready for pickup",
"buttons": [
{ "type": "reply", "text": "On my way" },
{ "type": "reply", "text": "Reschedule" }
]
}Use your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY/sendSend a WhatsApp or SMS message
/status/:messageIdRetrieve message status