---
title: "Websocket, return newly created messages."
method: GET
path: "/stream"
tags: ["message"]
---

# Websocket, return newly created messages.

`GET /stream`

## Response `200`

Ok

- Message — The MessageExternal holds information about a message which was sent by an Application.
  - `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.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Server Error

---

[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)
