Skip to main content

ntfy JSON

Map a JSON payload with ntfy-compatible fields directly to the notification object for full control over every field.

Payload Schema

FieldTypeRequiredDescription
bodystringYesThe notification message body.
titlestringNoNotification title.
priority1-5NoPriority level (1 = min, 3 = default, 5 = max).
tagsstring[]NoArray of tag strings (emoji shortcodes or labels).
iconstringNoURL of the notification icon.
actionsstringNontfy action string (view, broadcast, http).
attachstringNoURL of a file to attach.
filenamestringNoFilename for the attachment.
markdownbooleanNoSet to true to enable markdown rendering.

Example Payload

{
  "title": "Backup Complete",
  "body": "Daily backup finished at 03:00 AM.\n\nAll 42 files synced successfully.",
  "priority": 2,
  "tags": ["white_check_mark", "backup"],
  "markdown": true
}

Use Cases

  • Custom scripts or services where you control the HTTP payload.
  • Automation platforms (n8n, Node-RED, Home Assistant) that can send arbitrary JSON.
  • When you want full control over every ntfy field from the sender side.

tip

The ntfy-json interpreter is the only interpreter that supports all ntfy notification fields directly from the payload. Use it when you need fine-grained control over titles, priorities, tags, icons, actions, and attachments.