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

# Preload messages for channels (alternative)

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

## Request

- Base URL: `https://web.fluxer.app/api/v1`
- URL: `https://web.fluxer.app/api/v1/users/@me/channels/messages/preload`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fluxer/apis/fluxer-api/docs/users/@me/channels/messages/preload/post.ts> (a function with typed inputs; its response is checked against the schema)

Alternative endpoint to preload and cache 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)
    - union
      - string, snowflake
      - integer

## 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

## Changes

> 65 revisions in range; 2 not diffed.

- **2026-10-10** `b620d9da76aa`: 2 info
  - added the optional property `additionalProperties/anyOf[#/components/schemas/MessageResponseSchema]/referenced_message/anyOf[subschema #1]/thread/rtc_p2p` to the response with the `200` status
  - added the optional property `additionalProperties/anyOf[#/components/schemas/MessageResponseSchema]/thread/rtc_p2p` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/users/@me/channels/messages/preload/post.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) - [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/37a7b5f8a9af?raw)
