Search...
/
Dashboard
Guides
Integrations
API References
Release notes
Guides
Integrations
API References
Release notes
Upload API
Upload
POST
Direct uploads
POST
Start multipart upload
PUT
Upload individual file parts
POST
Complete multipart upload
POST
Upload files from URLs
GET
Check the status of a task to fetch/upload a file from a URL
GET
Get information about an uploaded file
Groups
Errors
REST API v0.7
Authentication
File
File metadata
Group
Add-Ons
Project
Webhook
Webhook Callbacks
Conversion
Changelog
Versioning
URL API
File information
File names
File groups
Image processing limitations
Image compression
Image resize and crop
Image rotation
Image overlays
Image colors
Image definition
Image recognition
Other image operations
Proxy
Signed URLs
CDN settings
Dashboard
Upload API
Upload
Get information about an uploaded file
GET
https://
upload.uploadcare.com
/
info
Returns a JSON object with information about an uploaded file (file size, MIME type, metadata, etc).
Query parameters
pub_key
string
Required
Public key identifying an Uploadcare project your uploads will go to.
file_id
string
Required
File's unique ID.
Response
This endpoint returns an object.
uuid
string
File's unique ID.
file_id
string
Same as
uuid
size
integer
File's size in bytes.
total
integer
Same as
size
.
done
integer
Same as
size
.
original_filename
string
Original file of the uploaded file.
filename
string
Sanitized
original_filename
.
mime_type
string
File's MIME-type.
image_info
any
video_info
any
is_image
boolean
True if the uploaded file is an image of a supported file format.
is_stored
boolean
True if the file has been marked as stored.
is_ready
boolean
True if the file is ready to be fetched from Uploadcare's CDN.
content_info
object
Optional
Information about file content.
Show 3 properties
metadata
map from strings to any
Optional
Arbitrary metadata associated with a file.
s3_bucket
string
Optional
Name of an AWS S3 bucket where the file is stored. Only available if you associate a Foreign Storage Bucket with your project.
Errors
400
Bad Request
403
Forbidden
404
Not Found
Built with