{
  "info": {
    "name": "MobiBlast API",
    "description": "Send SMS via the MobiBlast developer API. Set the `baseUrl` and `apiKey` collection variables, then run the requests. `route` is REQUIRED on sends (PROMOTIONAL or TRANSACTIONAL).",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "https://smsapi.hyelda.org" },
    { "key": "apiKey", "value": "vak_live_xxxxxxxxxxxxxxxx" }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [{ "key": "token", "value": "{{apiKey}}", "type": "string" }]
  },
  "item": [
    {
      "name": "Send single SMS",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/api/v1/messaging/send", "host": ["{{baseUrl}}"], "path": ["api", "v1", "messaging", "send"] },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"to\": \"08031234567\",\n  \"message\": \"Your OTP is 123456\",\n  \"route\": \"TRANSACTIONAL\",\n  \"senderId\": \"GrolaApp\"\n}"
        },
        "description": "route is REQUIRED: PROMOTIONAL or TRANSACTIONAL."
      }
    },
    {
      "name": "Send bulk SMS",
      "request": {
        "method": "POST",
        "header": [{ "key": "Content-Type", "value": "application/json" }],
        "url": { "raw": "{{baseUrl}}/api/v1/messaging/bulk", "host": ["{{baseUrl}}"], "path": ["api", "v1", "messaging", "bulk"] },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"Weekend promo\",\n  \"message\": \"Weekend sale - 30% off!\",\n  \"route\": \"PROMOTIONAL\",\n  \"numbers\": [\"08031234567\", \"08051234567\"]\n}"
        }
      }
    },
    {
      "name": "Wallet balance",
      "request": {
        "method": "GET",
        "url": { "raw": "{{baseUrl}}/api/v1/billing/balance", "host": ["{{baseUrl}}"], "path": ["api", "v1", "billing", "balance"] }
      }
    }
  ]
}
