---
title: "Preload messages for channels"
method: POST
path: "/users/@me/preload-messages"
tags: ["Users"]
---

# Preload messages for channels

`POST /users/@me/preload-messages`

Preloads and caches messages for multiple channels to improve performance when opening those channels. Returns preloaded message data for the specified channels.

## Request body

- PreloadMessagesRequest
  - `channels` SnowflakeType[], required — Array of channel IDs to preload messages from (max 100)

## Response `200`

Success

- PreloadMessagesResponse — A map of channel IDs to the latest message in each channel

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
