{
  "info": {
    "name": "Webpushr — mcp.ai",
    "description": "REST API for the Webpushr MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/webpushr",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "webpushr_get_notification_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/notification/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "notification",
            "status"
          ]
        },
        "description": "Get delivery and engagement counts for a Webpushr notification campaign using its campaign ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webpushr_get_subscriber_count",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/subscriber/count",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "subscriber",
            "count"
          ]
        },
        "description": "Return lifetime and currently active subscriber counts for the connected Webpushr site.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webpushr_send_notification_to_all",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/notification/to/all",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "notification",
            "to",
            "all"
          ]
        },
        "description": "Create or schedule a push notification campaign for every subscriber of the connected Webpushr site. This can notify the entire audience and should only be called with explicit user intent.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"icon\": \"\",\n  \"name\": \"\",\n  \"image\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"send_at\": \"\",\n  \"auto_hide\": 0,\n  \"target_url\": \"\",\n  \"expire_push\": \"\",\n  \"action_buttons\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webpushr_send_notification_to_attributes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/notification/to/attributes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "notification",
            "to",
            "attributes"
          ]
        },
        "description": "Create or schedule a push notification campaign for subscribers matching any supplied custom attribute key/value pair.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"icon\": \"\",\n  \"name\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"send_at\": \"\",\n  \"auto_hide\": 0,\n  \"attributes\": {},\n  \"target_url\": \"\",\n  \"expire_push\": \"\",\n  \"action_buttons\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webpushr_send_notification_to_segments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/notification/to/segments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "notification",
            "to",
            "segments"
          ]
        },
        "description": "Create or schedule a push notification campaign for subscribers in one or more Webpushr segments. This sends to every subscriber in the selected segments and should only be called with explicit user i",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"icon\": \"\",\n  \"name\": \"\",\n  \"image\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"send_at\": \"\",\n  \"auto_hide\": 0,\n  \"target_url\": \"\",\n  \"expire_push\": \"\",\n  \"segment_ids\": \"\",\n  \"action_buttons\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "webpushr_send_notification_to_subscriber",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/notification/to/subscriber",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "notification",
            "to",
            "subscriber"
          ]
        },
        "description": "Send or schedule a push notification to one Webpushr subscriber ID. Use only when the intended recipient's subscriber ID is known.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"icon\": \"\",\n  \"title\": \"\",\n  \"message\": \"\",\n  \"send_at\": \"\",\n  \"auto_hide\": 0,\n  \"target_url\": \"\",\n  \"expire_push\": \"\",\n  \"subscriber_id\": \"\",\n  \"action_buttons\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}