{
  "info": {
    "_postman_id": "6e6f7469-6669-4974-8000-6e6f74696669",
    "name": "notifi",
    "description": "Push notifications to an iPhone, iPad or Mac from one HTTP request.\n\nSet NOTIFI_KEY to the send key from the app’s Keys tab. Docs: https://notifi.it/docs",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://notifi.it",
      "type": "string"
    },
    {
      "key": "NOTIFI_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{NOTIFI_KEY}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Send a notification",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"Hello from notifi\",\n  \"message\": \"Your first notification.\",\n  \"link\": \"https://notifi.it/docs\",\n  \"image\": \"https://notifi.it/sad-logo.png\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "description": "Answers 202 with {\"ok\":true} once the server has accepted the notification. See https://notifi.it/docs."
      },
      "response": []
    },
    {
      "name": "Send a notification (form-encoded)",
      "request": {
        "method": "POST",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/send",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send"
          ]
        },
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "title",
              "value": "Hello from notifi",
              "type": "text"
            },
            {
              "key": "message",
              "value": "Your first notification.",
              "type": "text"
            },
            {
              "key": "link",
              "value": "https://notifi.it/docs",
              "type": "text"
            },
            {
              "key": "image",
              "value": "https://notifi.it/sad-logo.png",
              "type": "text"
            }
          ]
        }
      },
      "response": []
    }
  ]
}
