Skip to content

Push Notification API for Scripts and Services

PushGo provides a direct HTTP API for scripts and services that need reliable user-visible notifications plus structured event and state models.

  • Send a notification from curl, cron, a shell script, or a webhook.
  • Report job completion, price alerts, image snapshots, or monitoring results.
  • Move beyond plain text by modeling lifecycles and entity state.
  • Keep using compatibility endpoints while migrating to native PushGo APIs.
NeedUseWhy
One alert from a scriptMessageIt is simple, transient, and easy to test with curl.
Job with progressEventThe same event can be updated until completion.
Current state of a device or serviceThingClients see the latest state instead of many stale notifications.

The native /message endpoint accepts JSON and returns whether the Gateway accepted the request into dispatch.

Terminal window
curl -X POST https://gateway.pushgo.dev/message \
-H "Content-Type: application/json" \
-d '{
"channel_id": "YOUR_CHANNEL_ID",
"password": "YOUR_CHANNEL_PASSWORD",
"title": "Hello from PushGo",
"body": "The automation path is working."
}'
  • Can I send a notification with curl? Yes. The Message API is designed to be callable from curl, scripts, and simple HTTP clients.
  • Is PushGo only a phone notification API? No. PushGo also models Event lifecycles and Thing state so automation history remains structured.
  • Can I self-host the API? Yes. You can run your own Gateway and keep authentication, storage, transports, and MCP/OAuth under your control.
  • Prefer scoped credentials and separate Channels for high-risk automation.
  • Use MCP OAuth for AI assistants so models do not directly hold Channel passwords.
  • Use self-hosting when the data path, transport policy, or compliance boundary must stay under your control.
  • Use E2EE for sensitive fields that should be decrypted only by clients.