{
  "info": {
    "name": "Reachly API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    { "key": "baseUrl", "value": "http://localhost:3000" },
    { "key": "apiKey", "value": "YOUR_REACHLY_SECRET_KEY" }
  ],
  "item": [
    {
      "name": "Send OTP",
      "request": {
        "method": "POST",
        "header": [
          { "key": "x-api-key", "value": "{{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "url": "{{baseUrl}}/api/public/otp",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"to\": \"+919876543210\",\n  \"code\": \"123456\",\n  \"ttlMinutes\": 10\n}"
        }
      }
    },
    {
      "name": "Send Text Message",
      "request": {
        "method": "POST",
        "header": [
          { "key": "x-api-key", "value": "{{apiKey}}" },
          { "key": "Content-Type", "value": "application/json" }
        ],
        "url": "{{baseUrl}}/api/public/messages",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"to\": \"+919876543210\",\n  \"text\": \"Hello from Reachly\"\n}"
        }
      }
    }
  ]
}
