Skip to main content

Send a Notification

Pushmark is designed around a single HTTPS request to a public channel hash.

Endpoint

POST https://api.pushmark.app/<channel_hash>

Replace <channel_hash> with the hash shown in your channel page.

Payload shape

Public channel delivery is centered around a compact JSON body:

{
"message": "Checkout API error rate passed 5% in the last 10 minutes.",
"type": "error"
}

Integration examples

Use the tabs below for the fastest copy-paste starting points. If you need a language-specific variant, see More examples right after.

curl -X POST "https://api.pushmark.app/YOUR_CHANNEL_HASH" \
-H "Content-Type: application/json" \
-d '{
"message": "Nightly backup uploaded successfully.",
"type": "success"
}'

More examples

payload := map[string]string{
"message": "Nightly backup uploaded successfully.",
"type": "success",
}

jsonData, _ := json.Marshal(payload)
resp, _ := http.Post(
"https://api.pushmark.app/YOUR_CHANNEL_HASH",
"application/json",
bytes.NewBuffer(jsonData),
)
defer resp.Body.Close()

Notification types

Current product examples use a small set of notification types:

  • info
  • success
  • warning
  • error
  • log

Delivery expectations

  • Send from a trusted server, automation, or CI environment
  • Keep the message concise enough to scan at a glance
  • Use separate public channels for unrelated workflows
  • Treat private channels as coming soon

Using Pushmark from AI agents

If you want an AI agent to work with Pushmark directly, use the Pushmark MCP endpoint instead of asking the model to generate raw HTTP requests every time.

That setup works well with tools like Codex, Cursor, Claude Code, and other MCP-compatible clients. See AI Agents and MCP for:

  • MCP client setup
  • examples for Codex, Cursor, and Claude Code
  • agent prompt examples for sending notifications and inspecting channels

Install Pushmark in your client

Deeplink where supported, command fallback otherwise.

Cursor logoCursor
Visual Studio Code logoVS Code
Codex logoCodex
Claude logoClaude Code