ImageKit.io allows you to upload a file (image and non-image) via API. Based on your requirement, you can either:
​Upload file from server using private API key-based authentication, or
​Upload file from client-side (in Javascript, or Android or iPhone app) using signature-based authentication.
Both methods use the same endpoint, but there is a slight change in the request bodies.
File size limit The maximum upload file size is limited to 25MB.
ImageKit.io allows you to upload a file with following mime type.
Allowed file types | Description |
jpg | JPG image file format |
jpeg | JPEG image file format |
png | PNG image files |
webp | WebP image files |
gif | GIF image files |
svg | SVG image files |
PDF documents | |
js | Javascript files |
css | CSS files |
woff2 | Font files |
woff | Font files |
ttf | Font files |
otf | Font files |
eot | Font files |
txt | Text files |
mp4 | MP4 video files |
webm | WebM video files |
mov | Movie files |
swf | SWF files |
ts | Video files |
m3u8 | Video files |