List Messages
gotify.list_messages
ActionChat & messagingconnection required
Calls the Gotify API with the connection's credentials.
Read the newest messages across every application on the server.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Gotify
- Secret shape
- {"token": "…application token…", "client_token": "…optional…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
limit How many messages to return in one page; Gotify allows up to 200. | number | No | 100 | 1–200 | — |
since Return only messages with an id lower than this; use it to page backwards. | number | No | — | ≥ 0 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"limit": 100
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
messages One entry per message, newest first. | array | — |
messages[].id The message id. | number | — |
messages[].appid The application that sent the message. | number | — |
messages[].message The message body. | string | — |
messages[].title The message title, empty when none was sent. | string | — |
messages[].priority The priority Gotify recorded. | number | — |
messages[].date ISO-8601 timestamp of when it was created. | string | — |
count How many messages this page carried. | number | — |
paging Gotify's paging block: size, since, limit and next. | object | — |
{
"count": 0,
"messages": [
{
"appid": 0,
"date": "",
"id": 0,
"message": "",
"priority": 0,
"title": ""
}
],
"paging": {}
}Notes
- Needs the connection's client token; an application token may only push messages.
See List Messages run in a workflow.
In a technical demo we add the Gotify connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.