Skip to content

Commit c81cd01

Browse files
authored
Document default file upload limit (#7312)
* Added file upload change * Changelog
1 parent 5af3428 commit c81cd01

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

docs/Reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ https://cdn.discordapp.com/attachments/1012345678900020080/1234567891233211234/m
397397
## Uploading Files
398398

399399
> info
400-
> A file upload size limit applies to *all* files in a request (rather than each individual file). While the limit depends on the [**Boost Tier**](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-#h_419c3bd5-addd-4989-b7cf-c7957ef92583) of a guild, it is `25 MiB` by default.
400+
> A file upload size limit applies to *all* files in a request (rather than each individual file). While the limit depends on the [**Boost Tier**](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-FAQ-#h_419c3bd5-addd-4989-b7cf-c7957ef92583) of a guild, it is `10 MiB` by default.
401401
402402
Some endpoints support file attachments, indicated by the `files[n]` parameter. To add file(s), the standard `application/json` body must be replaced by a `multipart/form-data` body. The JSON message body can optionally be provided using the `payload_json` parameter.
403403

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "Default File Upload Limit Change"
3+
date: "2024-12-16"
4+
breaking: true
5+
topics:
6+
- "HTTP API"
7+
- "Interactions"
8+
---
9+
10+
On January 16, 2025, the default file upload limit will change from 25 MiB to 10 MiB.
11+
12+
While this limit is already active for users and bot users, it hasn't yet been applied to webhooks.
13+
14+
- This change will take effect on January 16, 2025.
15+
- The 10 MiB limit will apply to both webhooks and interaction responses.
16+
17+
For more information, check out [our documentation on file uploads](#DOCS_REFERENCE/uploading-files).

0 commit comments

Comments
 (0)