---
title: "Return all messages from a specific application."
method: GET
path: "/application/{id}/message"
tags: ["message"]
---

# Return all messages from a specific application.

`GET /application/{id}/message`

## Path parameters

- `id` integer, required

## Query parameters

- `limit` integer
- `since` integer

## Response `200`

Ok

- PagedMessages — Wrapper for the paging and the messages.
  - `messages` Message[], required — The messages.
    - `appid` integer, required — The application id that send this message.
    - `date` string, date-time, required — The date the message was created.
    - `extras` object — The extra data sent along the message. The extra fields are stored in a key-value scheme. Only accepted in CreateMessage requests with application/json content-type. The keys should be in the following format: &lt;top-namespace&gt;::[&lt;sub-namespace&gt;::]&lt;action&gt; These namespaces are reserved and might be used in the official clients: gotify android ios web server client. Do not use them for other purposes.
    - `id` integer, required — The message id.
    - `message` string, required — The message. Markdown (excluding html) is allowed.
    - `priority` integer — The priority of the message. If unset, then the default priority of the application will be used.
    - `title` string — The title of the message.
  - `paging` Paging, required — The Paging holds information about the limit and making requests to the next page.
    - `limit` integer, required — The limit of the messages for the current request.
    - `next` string — The relative path for the next page. Empty/Null when no next page is available. Should be combined with the gotify base url.
    - `since` integer, required — The ID of the last message returned in the current request. Use this as alternative to the next link.
    - `size` integer, required — The amount of messages that got returned in the current request.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/gotify/apis/gotify-rest-api.md) · [All operations](https://skmtc.net/gotify/apis/gotify-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gotify/gotify-rest-api/versions/7b32fcdb1345/schema)
