Message features
Besides a title and a text, a message can be formatted, carry emoji, buttons and a file, link somewhere, wait to be sent later, and be replaced or removed afterwards. Each is a header on the request (or a field when sending JSON); all of them are listed in Every header. The examples use the same server, topic and token as Sending messages.
Markdown#
Add Markdown: yes (or send the body with Content-Type: text/markdown) and the text is formatted when the message is opened:
curl -H "Authorization: Bearer tk_replace_with_your_token" \
-H "Markdown: yes" \
-H "Title: Weekly report" \
-d '**3 jobs failed**: `db-backup`, `mail-sync` and `web-01`. See [the logs](https://grafana.example.com/d/abc).' \
https://notify.example.com/backupsWhat is formatted: bold, italics, strikethrough, inline code and code blocks, links, headings (never larger than the message's title), bulleted and numbered lists, quotes, tables and dividing lines. Single line breaks join, as in any Markdown; leave an empty line to start a new paragraph.
What is not:
- HTML shows as text:
<b>stays<b>. - Links other than
http,https,mailto,telandgeoaddresses stay text. - Pictures show only when they are on this server (a file sent to Skirl). A picture from another site is a link, unless an admin turned on Load images from other sites (Admin settings); then it shows when its address starts with
https://.
A closed message shows its text as it was sent, asterisks and all, and so does a notification. The form in the app sends plain text only.
Emoji tags#
A tag that is an emoji's short name shows as that emoji in front of the title, in the inbox and in notifications. The other tags show as labels under the message.
curl -H "Authorization: Bearer tk_replace_with_your_token" -H "Title: Backup finished" -H "Tags: white_check_mark,nightly" -d "14 VMs, no errors." https://notify.example.com/backupsThis shows as "✅ Backup finished", with the label nightly. Without a title, the emoji goes in front of the text (and, in a notification, in front of the topic's name).
The names are the emoji short codes GitHub uses, 1,913 of them, and they must match exactly: warning is ⚠️, Warning is a label. Some that suit notifications:
| Tag | Shows |
|---|---|
white_check_mark |
✅ |
heavy_check_mark |
✔️ |
x |
❌ |
warning |
⚠️ |
rotating_light |
🚨 |
no_entry |
⛔ |
fire |
🔥 |
skull |
💀 |
tada |
🎉 |
hourglass |
⌛ |
floppy_disk |
💾 |
package |
📦 |
computer |
💻 |
bell |
🔔 |
Action buttons#
A message can carry up to three buttons. List them in Actions, separated by ;, each as its kind, its label and its address:
curl -H "Authorization: Bearer tk_replace_with_your_token" \
-H "Actions: view, Open Grafana, https://grafana.example.com/d/abc; copy, Copy host name, pve-01" \
-d "pve-01: CPU at 98% for 10 minutes" \
https://notify.example.com/backupsThe buttons show when the message is opened. What each kind does:
| Kind | In Skirl | On a notification from Skirl |
|---|---|---|
view |
Opens the address | A button that opens it |
http |
Sends a request from your browser, and says whether it worked | A button that sends it |
copy |
Copies a text | Not offered |
broadcast |
Greyed out: "Works in the Android app only" | Not offered |
ntfy's own apps show these buttons too, and run them on the phone: ntfy's apps and tools. More than three buttons, or a kind Skirl does not know, is refused with 400 and says why.
View#
view, <label>, <address> opens the address: a web page in a new tab, or a mailto:, tel: or geo: address in the app for it. Any other kind of address is greyed out with "This link is not allowed".
HTTP#
http, <label>, <address> sends a request when pressed: POST unless method= says otherwise, with headers.<name>=<value> and body=<text> if given:
curl -H "Authorization: Bearer tk_replace_with_your_token" \
-H "Actions: http, Restart the job, https://ci.example.com/api/jobs/42/restart, method=PUT, headers.Authorization=Bearer ci_replace_with_a_ci_token, clear=true" \
-d "Nightly job failed" \
https://notify.example.com/backupsThe request comes from the browser of the person who presses the button, never from the server. So:
- the address must be reachable from that person's device;
- it must allow requests from your Skirl's address (CORS): most services do not unless told to. Otherwise the button says "No answer. The address must allow requests from https://notify.example.com (CORS) and be reachable from this device.";
- a Skirl on HTTPS cannot call a plain
http://address ("Not sent: a page on HTTPS cannot call a plain-HTTP address."); - a Skirl reached over plain HTTP cannot run these at all: the button says "Needs HTTPS".
The button says "Sending…", then "Done" or what went wrong, such as "Failed: the address answered 500." or "No answer within 15 seconds.". No cookies go with the request. Pressed on a notification, a failure shows as a notification of its own.
Everyone who can read the topic can see an action's address, headers and body. A secret in them, such as the token above, is shared with every reader, so use one that may only do this.
Copy#
copy, <label>, <text> copies the text, and says "Copied", or "This browser did not allow copying".
Broadcast#
broadcast is for ntfy's Android app, where it passes the message on to other apps on the phone. Skirl shows it greyed out.
A button that marks the message read#
Add clear=true to a button and the message is marked read once the button has done its job: a view when opened, a copy when copied, an http when the address answered with success.
Buttons on notifications#
A notification carries up to two of the `view` and `http` buttons, in the order given, where the browser shows buttons on notifications (some show fewer; Safari, iPhones and iPads show none). Tapping the notification itself opens the message in Skirl.Buttons as JSON#
The same buttons can be written as JSON, in the header or in a JSON message:
curl -H "Authorization: Bearer tk_replace_with_your_token" \
-d '{"topic":"backups","message":"Disk almost full","actions":[{"action":"view","label":"Open Grafana","url":"https://grafana.example.com/d/abc"},{"action":"copy","label":"Copy host name","value":"pve-01"}]}' \
https://notify.example.com/Each button has action, label, and url (view, http) or value (copy); an http one may have method, headers and body; any of them clear.
Attachments#
Send the file as the body, with its name:
curl -H "Authorization: Bearer tk_replace_with_your_token" -T report.txt -H "Filename: report.txt" https://notify.example.com/backupsIts text says "You received a file: report.txt". Message gives it a caption instead:
curl -H "Authorization: Bearer tk_replace_with_your_token" -T report.txt -H "Filename: report.txt" -H "Message: Last night's report" https://notify.example.com/backupsA body becomes a file when Filename is given, when it is 4096 bytes or more, or when it is not text. Without a name it is called attachment with the right ending, such as attachment.txt. A name over 200 bytes is shortened, with "…" before its ending, which stays: the-whole-monthly-rep….pdf. In the app, Attach a file on the form, or paste or drop one onto it.
A file somewhere else#
Attach links to a file on another site instead of sending it. Skirl keeps only the link:
curl -H "Authorization: Bearer tk_replace_with_your_token" -H "Attach: https://example.com/files/report.pdf" -d "The monthly report is ready" https://notify.example.com/backupsThe opened message shows the file's name, "on example.com" and Open link. The address must start with http:// or https://.
What readers see#
- A PNG, JPEG, GIF or WebP picture sent to Skirl shows in the opened message; click it for full size. It shows in the notification too, on browsers that show pictures there.
- Any other file shows its name, its size, how long it is still kept ("6 days left") and Download. Once it is gone: "No longer kept".
- A picture linked from another site shows only when an admin turned on Load images from other sites, and its address starts with
https://. Otherwise it is a link.
Who can open a file#
Anyone who has its link, without signing in: the link is long and random, so the link is the secret. Everyone who can read the topic sees it, and anyone they pass it to can open it. PNG, JPEG, GIF, WebP, MP4, MP3 and PDF files open in the browser; every other kind is downloaded.
Limits#
An admin sets these in Admin → Settings → Attachments; each one's default and range are on Admin settings. What a sender meets over each:
| Setting | What happens over it |
|---|---|
| Largest file | The file is refused (413) |
| Files per sender | What one person, or one address when not signed in, may have stored at once; more is refused (413) until older files expire |
| All files on the server | New files are refused (413) until older ones expire |
| Downloads per reader per day | Counted per address, signed in or not, from midnight UTC; then "You have downloaded as much as a day allows." (429) |
| Keep files for | The file is removed; never kept longer than its message |
Links and Click#
Web addresses in a message's text (https://…, and mailto:, tel: and geo: ones) become links; other kinds of address stay text. Links to other sites open in a new tab.
Click makes the whole message link to an address:
curl -H "Authorization: Bearer tk_replace_with_your_token" -H "Title: CPU high on pve-01" -H "Click: https://grafana.example.com/d/abc" -d "98% for 10 minutes" https://notify.example.com/backupsWith a title, the title is the link. Without one, the opened message has Open link. Following it marks the message read.
Tapping a notification from Skirl opens the message in Skirl, not the Click address: the link is one tap further. ntfy's apps open the Click address straight from the notification.
Icons#
Icon names a picture for the message, by its http:// or https:// address (anything else is refused with 400, "icon URL is invalid"). Skirl shows it beside the message when the picture is on this server, or when an admin turned on Load images from other sites and its address starts with https://. Otherwise the opened message has a Publisher icon link to it. Skirl never fetches the picture itself, and notifications always carry Skirl's own icon.
Scheduled delivery#
In (or At, or Delay: they are the same) holds a message back until then:
curl -H "Authorization: Bearer tk_replace_with_your_token" -H "In: 30m" -d "Take the laundry out" https://notify.example.com/backups| You send | It goes out |
|---|---|
30m, 2h, 90s, 1d, 2 days |
That long from now |
tomorrow, 9am, Tuesday, 7am, 3pm |
Then, in English; a time already past today means tomorrow |
2026-12-01T09:00:00Z |
At that moment (a date and time with its time zone) |
1796112000 |
At that Unix time |
Times such as tomorrow, 9am are read in the server's time zone; add Timezone: Europe/Berlin (any name like it) to read them in yours. A message must go at least 10 seconds ahead and at most 3 days ahead, unless an admin allows longer in Admin → Settings → Scheduled delivery (up to 720 hours). Skirl answers "too small", "too large" or "unable to parse delay" (400) otherwise. Cache: no cannot be combined with it.
In the app, tick Send later on the form and pick Send at, in your device's time zone.
Until its time, the message is in no inbox, sends no notification and is not found by search. A topic's Messages tab shows it under the Scheduled filter, for people who may send there: "Sends" and the time, with Cancel. At its time it arrives like any other message, unread, with a notification, dated when it went out. If the server was stopped then, it goes out as soon as the server starts again.
To be able to cancel it from a script, give it a name with Sequence-ID; deleting that name cancels it, and sending again with the same name replaces it:
curl -H "Authorization: Bearer tk_replace_with_your_token" -H "In: 2h" -H "Sequence-ID: laundry" -d "Take the laundry out" https://notify.example.com/backups
curl -X DELETE -H "Authorization: Bearer tk_replace_with_your_token" https://notify.example.com/backups/laundryReplacing a message#
Send to <topic>/<a name of your choosing>, and every later message with the same name replaces the one shown. Useful for a job that reports its progress, or an alert that is resolved:
curl -H "Authorization: Bearer tk_replace_with_your_token" -d "Backup running: 40%" https://notify.example.com/backups/nightly
curl -H "Authorization: Bearer tk_replace_with_your_token" -d "Backup finished" https://notify.example.com/backups/nightlyThe inbox shows the newest version only, unread again, with Updated once (or Updated 3 times) to open the earlier ones while the topic still keeps them. On a device that still shows the earlier notification, the new one takes its place.
Sequence-ID: nightly names it the same way when the address must stay the topic's own. A name is 1 to 64 letters, digits, - and _. A message sent without one has its own id as its name: the id in Skirl's answer, also the end of its link (/m/<id>).
Some senders replace their own messages: a resolved alert replaces the one it resolves (Connecting your systems).
Clearing and deleting#
A clear marks every version of a message read, for everyone who subscribes to the topic:
curl -X PUT -H "Authorization: Bearer tk_replace_with_your_token" https://notify.example.com/backups/nightly/clearA delete removes every version, for everyone, with their files; one still waiting to be sent is cancelled:
curl -X DELETE -H "Authorization: Bearer tk_replace_with_your_token" https://notify.example.com/backups/nightlyBoth need a token that may send to the topic, and both work on the name a message was sent with, or on its id.
In the app, More → Delete on an opened message does the same as the delete, for whoever may send to the topic, after asking (Deleting a message).
A notification already showing#
A clear or a delete also takes the message's notification away on the phones and computers it went to, as far as each browser lets a site do that:
| Where | What happens to a notification already showing |
|---|---|
| Chrome or Edge on a computer | It goes straight away. If it was the only Skirl notification there and no Skirl window is in view, one line takes its place instead, silently: "This message was deleted." (after a clear: "This message was marked read."). Nothing of the message is left in it. |
| Chrome on Android | As in Chrome on a computer. |
| Firefox on a computer | As in Chrome on a computer. |
| Firefox on Android | It goes straight away. |
| Safari on a Mac | It stays until the next Skirl notification arrives on that Mac (within three days), or until Skirl is opened there. Then it goes. |
| Skirl on an iPhone's or iPad's Home Screen | As in Safari on a Mac. On iOS and iPadOS before 18.4 it may stay until you swipe it away. |
Other browsers built on Chrome's engine (Brave, Opera, Samsung Internet, Vivaldi) do as Chrome does.
- None of this makes a sound, raises the number on the app's icon, or shows anything on a device that was not showing the notification.
- A device that was off when the message went hears of it when it is back on, for up to three days.
- On every device, opening Skirl, or coming back to it, closes the notifications of messages that are no longer there, and the lines that stood in for them.
- A notification that arrives after the clear or the delete, with the same name, is a new message and stays.
In Safari and on an iPhone or iPad, swipe the notification away, or open Skirl, to take it away at once.