{
  "info": {
    "name": "Ingat for Business",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Scheduled WhatsApp reminders with confirmation. Set baseUrl and apiKey in the collection variables."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://ingat.ingatbiz.com"
    },
    {
      "key": "apiKey",
      "value": "ingat_live_\u2026"
    }
  ],
  "item": [
    {
      "name": "Account",
      "item": [
        {
          "name": "My account",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/accounts/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "accounts",
                "me"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Message counts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/stats/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "stats",
                "messages"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "People",
      "item": [
        {
          "name": "List people",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/recipients",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "recipients"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Add a person",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/recipients",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "recipients"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Budi Santoso\",\n  \"waNumber\": \"0812-3456-7890\",\n  \"language\": \"ID\"\n}"
            }
          }
        },
        {
          "name": "Activate (they agreed in person)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/recipients/{{recipientId}}/activate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "recipients",
                "{{recipientId}}",
                "activate"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Groups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/groups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "groups"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Reminders",
      "item": [
        {
          "name": "List reminders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders?status=ACTIVE",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders?status=ACTIVE"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Find by your reference",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders?externalId=KPR-00123%2F2026-10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders?externalId=KPR-00123%2F2026-10"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Create one",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Angsuran Oktober\",\n  \"dueAt\": \"2026-10-15T09:00:00+07:00\",\n  \"recipientIds\": [\n    \"{{recipientId}}\"\n  ],\n  \"externalId\": \"KPR-00123/2026-10\",\n  \"templateKey\": \"payment_due\",\n  \"variables\": {\n    \"name\": \"Budi Santoso\",\n    \"amount\": \"2.350.000\",\n    \"reference\": \"KPR-00123\"\n  }\n}"
            }
          }
        },
        {
          "name": "Bulk import",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders/bulk",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders",
                "bulk"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rows\": [\n    {\n      \"externalId\": \"KPR-00123/2026-10\",\n      \"title\": \"Angsuran Oktober\",\n      \"dueAt\": \"2026-10-15T09:00:00+07:00\",\n      \"to\": {\n        \"name\": \"Budi Santoso\",\n        \"waNumber\": \"0812-3456-7890\"\n      },\n      \"templateKey\": \"payment_due\",\n      \"variables\": {\n        \"name\": \"Budi Santoso\",\n        \"amount\": \"2.350.000\",\n        \"reference\": \"KPR-00123\"\n      }\n    }\n  ]\n}"
            }
          }
        },
        {
          "name": "Close (mark done)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders/{{reminderId}}/close",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders",
                "{{reminderId}}",
                "close"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Cancel",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reminders/{{reminderId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reminders",
                "{{reminderId}}"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Templates",
      "item": [
        {
          "name": "List templates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "templates"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Create a custom template",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/templates",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "templates"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"Angsuran KPR\",\n  \"language\": \"ID\",\n  \"body\": \"Yth. {{nama}}, angsuran {{produk}} sebesar Rp {{jumlah}} jatuh tempo {{due}}. Balas SELESAI setelah membayar. Terima kasih.\",\n  \"samples\": {\n    \"nama\": \"Budi\",\n    \"produk\": \"KPR\",\n    \"jumlah\": \"2.350.000\"\n  }\n}"
            }
          }
        }
      ]
    },
    {
      "name": "Webhooks",
      "item": [
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://your-system.example/ingat\",\n  \"events\": [\n    \"reminder.sent\",\n    \"reminder.confirmed\",\n    \"reminder.missed\",\n    \"report.daily\"\n  ]\n}"
            }
          }
        },
        {
          "name": "List",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Send a test event",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks/{{webhookId}}/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks",
                "{{webhookId}}",
                "test"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Recent deliveries",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/webhooks/{{webhookId}}/deliveries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "webhooks",
                "{{webhookId}}",
                "deliveries"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Reports",
      "item": [
        {
          "name": "Daily",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reports/daily",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reports",
                "daily"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Monthly",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reports/monthly?month=2026-10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reports",
                "monthly?month=2026-10"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Monthly CSV",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reports/monthly.csv?month=2026-10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reports",
                "monthly.csv?month=2026-10"
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Sandbox (test accounts only)",
      "item": [
        {
          "name": "Simulate a reply",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/sandbox/replies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "sandbox",
                "replies"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"deliveryId\": \"{{deliveryId}}\",\n  \"action\": \"done\"\n}"
            }
          }
        },
        {
          "name": "Simulate a receipt",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/sandbox/receipts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "sandbox",
                "receipts"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"deliveryId\": \"{{deliveryId}}\",\n  \"status\": \"read\"\n}"
            }
          }
        }
      ]
    }
  ]
}