Documentation

Quick Start

Send your first notification in seconds. No signup required for public topics.

# Just send a POST request

curl -d "Hello from my Pi!" iotpush.com/api/push/my-topic

API Reference

Send Notification

POST /api/push/{topic}

Request Body

Plain text or JSON message

Optional Headers

HeaderDescriptionExample
TitleNotification titleAlert!
Prioritylow, normal, high, urgenthigh
TagsComma-separated tagswarning,sensor
ClickURL to open on clickhttps://...

Examples

Simple message:

curl -d "Sensor triggered!" iotpush.com/api/push/my-topic

With title and priority:

curl -H "Title: Alert" -H "Priority: high" \

-d "Temperature exceeded 80°C" \

iotpush.com/api/push/my-topic

JSON body:

curl -H "Content-Type: application/json" \

-d ''{"title":"Alert","message":"Temp high!","priority":"high"}'' \

iotpush.com/api/push/my-topic

Language Examples

Python

import requests

requests.post(
    "https://iotpush.com/api/push/my-topic",
    data="Hello from Python!",
    headers={"Title": "Python Alert"}
)

JavaScript / Node.js

fetch("https://iotpush.com/api/push/my-topic", {
  method: "POST",
  body: "Hello from JS!",
  headers: { "Title": "JS Alert" }
});

Arduino / ESP32

#include <HTTPClient.h>

HTTPClient http;
http.begin("https://iotpush.com/api/push/my-topic");
http.addHeader("Title", "ESP32 Alert");
http.POST("Sensor value: " + String(sensorValue));
http.end();

Rate Limits

PlanMessages/DayTopics
Free1003
Pro ($9/mo)10,000Unlimited
Business ($49/mo)UnlimitedUnlimited