Channels
Messages

Request presigned attachment upload URLs

Returns presigned upload URLs for message attachments in the target channel. Small files (<=10MB) return a singlepart PUT URL; larger files return a multipart plan (upload_id + per-part URLs) that the client should complete via the matching /attachments/complete endpoint. Requires message send and attachment permissions in guild channels.

post/channels/{channel_id}/attachments

Path parameters

channel_idstring snowflake required

The ID of the channel

Request body

Response

Success

Changes

No recorded changes to this endpoint across all 1 revision of this API.