curl --request POST \
--url https://public.raze.sh/api/upload \
--header 'Content-Type: multipart/form-data' \
--form image='@example-file'{
"success": true,
"url": "https://public.raze.sh/api/uploads/a1b2c3d4-e5f6.png",
"filename": "a1b2c3d4-e5f6.png",
"deleteAt": "2026-03-22T12:00:00.000Z"
}Upload an image file (JPEG, PNG, GIF, SVG). Max file size: 2MB.
Images are automatically compressed. Files are deleted after 24 hours.
Use multipart/form-data with the field name image.
curl --request POST \
--url https://public.raze.sh/api/upload \
--header 'Content-Type: multipart/form-data' \
--form image='@example-file'{
"success": true,
"url": "https://public.raze.sh/api/uploads/a1b2c3d4-e5f6.png",
"filename": "a1b2c3d4-e5f6.png",
"deleteAt": "2026-03-22T12:00:00.000Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
Image file (JPEG, PNG, GIF, SVG — max 2MB)