# Ntfy

Send push notifications to your phone or desktop via PUT/POST

- **Category:** notifications
- **Auth:** API_KEY, BASIC
- **Tools:** 22
- **Triggers:** 0
- **Slug:** `NTFY`
- **Version:** 00000000_00

## Tools

### Create NTFY Account

**Slug:** `NTFY_CREATE_ACCOUNT`

Tool to register a new user account on ntfy. Use when you need to create a new user account on the ntfy.sh hosted service. Note: This endpoint is not available on self-hosted instances unless signup is explicitly enabled in the server configuration.

### Create Web Push Subscription

**Slug:** `NTFY_CREATE_WEBPUSH_SUBSCRIPTION`

Tool to register a web push subscription for browser notifications. Use when you need to enable push notifications from ntfy topics through a browser's native push notification system.

### Delete Web Push Subscription

**Slug:** `NTFY_DELETE_WEBPUSH_SUBSCRIPTION`

Tool to unregister a web push subscription from the ntfy server. Use when you need to remove browser push notifications for a previously registered endpoint.

### Fetch Cached Messages

**Slug:** `NTFY_FETCH_CACHED_MESSAGES`

Tool to fetch cached messages from a ntfy topic. Use when you need to retrieve previously sent messages stored on the server. Supports filtering by time (duration or timestamp), message ID, content, title, priority, and tags. Set poll=1 to return immediately after fetching available cached messages.

### Fetch Latest Message from Topic

**Slug:** `NTFY_FETCH_LATEST_MESSAGE`

Tool to fetch the most recent message from a topic's cache. Use when you need to retrieve the latest message without subscribing to the topic stream.

### Fetch Scheduled Messages

**Slug:** `NTFY_FETCH_SCHEDULED_MESSAGES`

Tool to fetch messages scheduled for later delivery from a topic. Use when you need to retrieve messages that are set to be delivered at a future date. The poll=1 and scheduled=1 parameters are automatically set to retrieve cached scheduled messages in a single request.

### Get Account Information

**Slug:** `NTFY_GET_ACCOUNT`

Tool to retrieve account data for authenticated user or anonymous user. Use when you need to get account information, limits, statistics, or tier details.

### Get Server Statistics

**Slug:** `NTFY_GET_STATS`

Tool to retrieve server statistics including message counts and publishing rates. Use when you need to monitor ntfy server activity and get metrics about message volume.

### Get Service Tiers

**Slug:** `NTFY_GET_TIERS`

Tool to list all available ntfy service tiers with their limits and features. Use when you need to retrieve subscription tier information including pricing and usage limits. Requires that payments are enabled on the server.

### Get File Attachment Metadata

**Slug:** `NTFY_HEAD_FILE`

Tool to get file attachment metadata from a message without downloading the file content. Use when you need to check file size, content type, or verify file existence in the ntfy attachment cache.

### Check NTFY Service Health

**Slug:** `NTFY_HEALTH_CHECK`

Tool to check the health status of the ntfy service. Use when you need to verify if the ntfy service is operational and responding correctly.

### Poll Messages from Topic

**Slug:** `NTFY_POLL_MESSAGES`

Tool to poll for messages from an ntfy topic without maintaining a long-standing connection. Use when you need to retrieve cached messages and have the connection close immediately after delivery. The connection ends after reading all available messages matching the criteria.

### Publish Message as JSON to NTFY

**Slug:** `NTFY_PUBLISH_JSON`

Tool to publish messages as JSON to ntfy. Use when you need to send notifications with all parameters in the request body, especially useful for integrations that cannot add custom headers.

### Publish Message to Topic

**Slug:** `NTFY_PUBLISH_MESSAGE`

Tool to publish a message to a ntfy topic. Use when you need to send notifications or alerts to a topic. Topics are created dynamically if they don't exist.

### Publish Message to Topic (PUT)

**Slug:** `NTFY_PUBLISH_MESSAGE_PUT`

Tool to publish a message to a topic using PUT method. Use when you need to send notifications to subscribers of a topic. Supports various options like priority, tags, attachments, and scheduled delivery.

### Publish Message via GET

**Slug:** `NTFY_PUBLISH_VIA_GET`

Tool to publish messages to ntfy via GET request with URL parameters. Use when PUT/POST methods are unavailable or for simple webhook integration. Supports all message parameters as query strings. Without parameters, sends 'triggered' as message.

### Send Message via Webhook

**Slug:** `NTFY_SEND_WEBHOOK`

Tool to send messages via webhook endpoint using simple GET request. Use when you need a simple webhook-style integration or for clients with limited HTTP support.

### Subscribe to NTFY Topic with Filters

**Slug:** `NTFY_SUBSCRIBE_FILTERED`

Tool to subscribe to a ntfy topic with filters based on message fields (id, message, title, priority, tags). Use when you need to retrieve specific messages from a topic using filter criteria. Returns matching messages from the topic as a JSON stream.

### Subscribe to Topic (JSON Stream)

**Slug:** `NTFY_SUBSCRIBE_JSON_STREAM`

Tool to subscribe to a ntfy topic and receive messages as JSON stream. Use when you need to retrieve cached messages from a topic. The action polls the topic and returns immediately with cached messages.

### Subscribe to Multiple NTFY Topics

**Slug:** `NTFY_SUBSCRIBE_MULTIPLE_TOPICS`

Tool to subscribe to multiple ntfy topics simultaneously using comma-separated topic list. Use when you need to receive messages from multiple topics in a single API call. Returns cached messages when used with poll=true parameter.

### Subscribe to Topic (Raw Stream)

**Slug:** `NTFY_SUBSCRIBE_RAW_STREAM`

Tool to subscribe to a topic and receive message bodies as raw text stream. Use when you need to retrieve messages without metadata like priority, tags, or titles. Each line in the response contains only the message body. Empty lines represent keepalive messages. In streaming mode, the connection remains open to receive new messages. With poll=1, cached messages are returned and the connection closes.

### Trigger NTFY Webhook

**Slug:** `NTFY_TRIGGER_WEBHOOK`

Tool to trigger a webhook to publish a message to an ntfy topic via simple HTTP GET request. Use when you need to send notifications through webhooks without requiring a POST body. Sends a default 'triggered' message if no custom message is provided.
