Send a Notification

Use the ntfyme HTTP endpoint to post a notification by sending an authenticated request. Provide your bearer token below to generate the ready-to-run commands.

JSON payload with Authorization header

The example below publishes the message Test Message to the topic test using a JSON payload and Authorization header.

The command uses curl to send the JSON payload, authenticates with a bearer token, and pipes the response to jq for readable JSON output. JSON unlocks the full feature set of the app because it lets you control topics, message bodies, and optional metadata.

JSON payload with token field

Prefer this variant if you want to place the token inside the JSON payload instead of the Authorization header.

Plain text payload

You can also send a plain text payload if you only need to publish a quick message.

This shortcut is convenient, but it omits JSON-specific fields. Prefer the JSON format if you want richer notifications.