https://api.fastupload.net/v1/uploadUploads an image to Fastupload. The current endpoint supports multipart file uploads and image URLs submitted as form data.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Your API key. |
image | file / URL | Yes | Binary image file or an image URL. Current code checks supported image MIME types. |
name | string | No | Optional filename. Multipart uploads can detect the original filename automatically. |
expiration | integer | No | Documented range: 60–15,552,000 seconds. Confirm implementation support before relying on it. |
Example request
curl --location --request POST "https://api.fastupload.net/v1/upload" \
--form "key=YOUR_API_KEY" \
--form "image=@/path/to/image.jpg"Use POST for local files. PHP's upload_max_filesize, post_max_size, web-server limits and available disk space must also allow the upload. The current endpoint does not apply name or expiration; the response reports expiration: 0. A persistent delete-token endpoint is not included yet.
Supported MIME types in current code
JPEG, PNG, GIF, WebP, BMP, TIFF, SVG, ICO, HEIC, HEIF, AVIF, JP2, JPX and JXR. The actual server MIME detector must identify the uploaded file as one of these types. File bytes are written on the API server under guest/ or users/user_FOLDER_CODE/; metadata and user quota are handled by the Beta Bridge.