Skip to main content
GET
/
attachments
/
{channel_id}
/
{attachment_id}
/
{filename}
Get message attachment
curl --request GET \
  --url https://fluxerusercontent.com/attachments/{channel_id}/{attachment_id}/{filename}
"<string>"

Path Parameters

channel_id
string
required

Channel ID

attachment_id
string
required

Attachment ID

filename
string
required

Original filename

Query Parameters

size
enum<string>

Target image size in pixels. Default: 128 Allowed image sizes in pixels

Available options:
16,
20,
22,
24,
28,
32,
40,
44,
48,
56,
60,
64,
80,
96,
100,
128,
160,
240,
256,
300,
320,
480,
512,
600,
640,
1024,
1280,
1536,
2048,
3072,
4096
Example:

"128"

format
enum<string>

Output image format. Default: webp Allowed image output formats

Available options:
png,
jpg,
jpeg,
webp,
gif
Example:

"webp"

quality
enum<string>

Image quality level. Default: high Image quality levels: high (default), low (smaller files), lossless (no compression)

Available options:
high,
low,
lossless
Example:

"high"

animated
enum<string>

Whether to return animated images (GIF, APNG). Default: false

Available options:
true,
false

Response

File data with appropriate Content-Type

The response is of type file.