{
  "info": {
    "name": "SMSLaravel API (localhost)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "base_url", "value": "http://localhost:8000/api" }
  ],
  "item": [
    {
      "name": "SMS360",
      "item": [
        { "name": "Health", "request": { "method": "POST", "url": "{{base_url}}/sms/health", "header": [], "body": {} } },
        { "name": "Send SMS", "request": { "method": "POST", "url": "{{base_url}}/sms/send", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"message\": \"Hello from SMS360\",\n  \"from\": \"MyBrand\"\n}"} } },
        { "name": "Send Bulk SMS", "request": { "method": "POST", "url": "{{base_url}}/sms/send-bulk", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"recipients\": [\n    { \"to\": \"60123456789\", \"message\": \"Hello 1\" },\n    { \"to\": \"60129876543\", \"message\": \"Hello 2\" }\n  ],\n  \"from\": \"MyBrand\"\n}"} } },
        { "name": "Check Balance", "request": { "method": "POST", "url": "{{base_url}}/sms/balance", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"country\": \"MY\"\n}"} } },
        { "name": "Decode Status", "request": { "method": "POST", "url": "{{base_url}}/sms/decode-status", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"code\": 200\n}"} } },
        { "name": "Delivery Notification (webhook)", "request": { "method": "POST", "url": "{{base_url}}/sms/delivery-notification", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"status\": \"DELIVERED\",\n  \"error-code\": \"000\",\n  \"msisdn\": \"60123456789\",\n  \"msgid\": \"abc123\"\n}"} } },
        { "name": "Statistics", "request": { "method": "POST", "url": "{{base_url}}/sms/statistics", "header": [], "body": {} } },
        { "name": "Send SMS (AiRobin)", "request": { "method": "POST", "url": "{{base_url}}/sms/sendAiRobin", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"message\": \"Hello from AiRobin\",\n  \"from\": \"MyBrand\"\n}"} } },
        { "name": "Send SMS (Harimau)", "request": { "method": "POST", "url": "{{base_url}}/sms/sendHarimau", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"message\": \"Hello from Harimau\",\n  \"from\": \"MyBrand\"\n}"} } }
      ]
    },
    {
      "name": "ESMS",
      "item": [
        { "name": "Health", "request": { "method": "POST", "url": "{{base_url}}/esms/health", "header": [], "body": {} } },
        { "name": "Send SMS", "request": { "method": "POST", "url": "{{base_url}}/esms/send-sms", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"msg\": \"Hello from ESMS\"\n}"} } },
        { "name": "Send Bulk SMS", "request": { "method": "POST", "url": "{{base_url}}/esms/send-bulk-sms", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"recipients\": [\n    { \"to\": \"60123456789\", \"msg\": \"Hello 1\" },\n    { \"to\": \"60129876543\", \"msg\": \"Hello 2\" }\n  ]\n}"} } },
        { "name": "Generate OTP", "request": { "method": "POST", "url": "{{base_url}}/esms/generate_otp", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"phone\": \"60123456789\",\n  \"brand_name\": \"MyBrand\",\n  \"message\": \"Your OTP is {otp}\",\n  \"duration\": 5,\n  \"app_id\": 1,\n  \"language\": \"en\"\n}"} } },
        { "name": "Verify OTP", "request": { "method": "POST", "url": "{{base_url}}/esms/verify-otp", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"phone\": \"60123456789\",\n  \"code\": \"123456\"\n}"} } },
        { "name": "WhatsApp Feedback Survey", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/feedback-survey", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"name\": \"John Doe\",\n  \"action\": \"Complete Survey\",\n  \"link\": \"https://example.com/survey\"\n}"} } },
        { "name": "WhatsApp Event Confirmation", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/event-confirmation", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"event\": \"Annual Conference\",\n  \"brand\": \"MyBrand\"\n}"} } },
        { "name": "WhatsApp Event Reminder", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/event-reminder", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"event\": \"Annual Conference\",\n  \"name\": \"John Doe\",\n  \"date\": \"2026-09-20\",\n  \"time\": \"10:00 AM\",\n  \"venue\": \"KL Convention Centre\"\n}"} } },
        { "name": "WhatsApp Shipment Update", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/shipment-update", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"name\": \"John Doe\",\n  \"number\": \"TRK123456\",\n  \"venue\": \"KL Warehouse\",\n  \"code\": \"SHP001\",\n  \"link\": \"https://example.com/track\"\n}"} } },
        { "name": "WhatsApp Payment Due", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/payment-due", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"name\": \"John Doe\",\n  \"amount\": \"150.00\",\n  \"brand\": \"MyBrand\",\n  \"number\": \"INV001\",\n  \"date\": \"2026-09-20\",\n  \"event\": \"Subscription Renewal\",\n  \"link\": \"https://example.com/pay\"\n}"} } },
        { "name": "WhatsApp Document Review", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/document-review", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"name\": \"John Doe\",\n  \"brand\": \"MyBrand\",\n  \"action\": \"Review Contract\",\n  \"time\": \"5 days\",\n  \"link\": \"https://example.com/doc\"\n}"} } },
        { "name": "WhatsApp Flow Confirmation", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/flow-confirmation", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"code\": \"CONF001\",\n  \"journey\": \"Onboarding\"\n}"} } },
        { "name": "WhatsApp Custom Message [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/whatsapp/custom-message", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"to\": \"60123456789\",\n  \"message\": \"Custom message here\"\n}"} } },
        { "name": "Delivery Report [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/delivery-report", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"msgid\": \"abc123\"\n}"} } },
        { "name": "Bulk Delivery Reports [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/bulk-delivery-reports", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"msgids\": [\"abc123\", \"def456\"]\n}"} } },
        { "name": "Message Status [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/message-status", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"msgid\": \"abc123\"\n}"} } },
        { "name": "Balance", "request": { "method": "POST", "url": "{{base_url}}/esms/balance", "header": [], "body": {} } },
        { "name": "Account Info [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/account-info", "header": [], "body": {} } },
        { "name": "Message History [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/message-history", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"from\": \"2026-09-01\",\n  \"to\": \"2026-09-11\"\n}"} } },
        { "name": "Statistics [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/statistics", "header": [], "body": {} } },
        { "name": "Decode Status [BROKEN - method missing, 500]", "request": { "method": "POST", "url": "{{base_url}}/esms/decode-status", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"code\": 200\n}"} } },
        { "name": "Delivery Notification (webhook)", "request": { "method": "POST", "url": "{{base_url}}/esms/delivery-notification", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"status\": \"DELIVERED\",\n  \"msisdn\": \"60123456789\",\n  \"msgid\": \"abc123\"\n}"} } }
      ]
    },
    {
      "name": "OTP",
      "item": [
        { "name": "Health", "request": { "method": "POST", "url": "{{base_url}}/otp/health", "header": [], "body": {} } },
        { "name": "Send OTP", "request": { "method": "POST", "url": "{{base_url}}/otp/send", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } },
        { "name": "Verify OTP", "request": { "method": "POST", "url": "{{base_url}}/otp/verify", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\",\n  \"otp\": \"123456\"\n}"} } },
        { "name": "Get OTP Status", "request": { "method": "POST", "url": "{{base_url}}/otp/status", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } },
        { "name": "Health (AiRobin)", "request": { "method": "POST", "url": "{{base_url}}/otp/healthAiRobin", "header": [], "body": {} } },
        { "name": "Send OTP (AiRobin)", "request": { "method": "POST", "url": "{{base_url}}/otp/sendAiRobin", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } },
        { "name": "Verify OTP (AiRobin)", "request": { "method": "POST", "url": "{{base_url}}/otp/verifyAiRobin", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\",\n  \"otp\": \"123456\"\n}"} } },
        { "name": "Get OTP Status (AiRobin)", "request": { "method": "POST", "url": "{{base_url}}/otp/statusAiRobin", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } },
        { "name": "Health (Harimau)", "request": { "method": "POST", "url": "{{base_url}}/otp/healthHarimau", "header": [], "body": {} } },
        { "name": "Send OTP (Harimau)", "request": { "method": "POST", "url": "{{base_url}}/otp/sendHarimau", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } },
        { "name": "Verify OTP (Harimau)", "request": { "method": "POST", "url": "{{base_url}}/otp/verifyHarimau", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\",\n  \"otp\": \"123456\"\n}"} } },
        { "name": "Get OTP Status (Harimau)", "request": { "method": "POST", "url": "{{base_url}}/otp/statusHarimau", "header": [{"key":"Content-Type","value":"application/json"}], "body": {"mode":"raw","raw":"{\n  \"mobile\": \"60123456789\"\n}"} } }
      ]
    }
  ]
}
