# /api/v1/message

Admin-managed **fylr** messages shown in the web front end, optionally requiring per-user confirmation (`confirm_every_version`, `show_always`) and optionally scoped to a `start_time`/`end_time` window. A message is addressed to user groups via `_groups`, not to individual users. All operations require the `system.message` system right (or `system.root`); a user who holds it sees and manages every message — there is no per-user sender/recipient scoping.

Differs from easydb 5: the message kind is the `webfrontend_type` field (free-form) and the body text is `message`; easydb 5 named these `type` (with values such as `eula`) and `message_html`.

### `GET /message` — List all messages.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/message" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-2a59a53c20c205492524eecbc6914f9b2357ef2a%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `POST /message` — Create or update one or more messages.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/message" method="post" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-2a59a53c20c205492524eecbc6914f9b2357ef2a%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `PUT /message` — Create or update one or more messages (alias for POST).

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/message" method="put" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-2a59a53c20c205492524eecbc6914f9b2357ef2a%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `GET /message/{id}` — Retrieve a single message by id.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/message/{id}" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-2a59a53c20c205492524eecbc6914f9b2357ef2a%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `DELETE /message/{id}` — Delete a message by id.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/message/{id}" method="delete" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-2a59a53c20c205492524eecbc6914f9b2357ef2a%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fylr.io/for-developers/api/endpoints/api-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
