POST
/
blobs
/
{blob_id}
/
upload.json
curl -X POST 'https://api.quickblox.com/blobs/10070416/upload/' \
-F 'key=20456a9676674f4ca950d963dfca630e00' \
-F 'file=@/Users/test/Downloads/33.jpg'
Empty body

To upload a file, proceed as following:

  1. Create File. Make sure to create an entity for a file within the system - a blob, before uploading it.
  2. Upload File. An upload link is obtained from the response to the create file request. The link has expiration time so if it gets expired, you should obtain a new link using the create file request.

File size limit

The maximum size of the uploaded file depends on the membership plan.

BasicStartupGrowthHIPAAEnterprise
File size limit10 Mb25 Mb50Mb50MbContact our sales team

Path Parameters

blob_id
integer
required

ID of the file/blob. Generated automatically by the server after file/blob creation.

Body Parameters

file
string
required

A binary file to be uploaded to the cloud storage. The file size is restricted by the membership plan. See the File size limit section below.

key
string
required

File/blob identifier that should be taken from the response of the Create File request. This is the UID parameter.

Responses

curl -X POST 'https://api.quickblox.com/blobs/10070416/upload/' \
-F 'key=20456a9676674f4ca950d963dfca630e00' \
-F 'file=@/Users/test/Downloads/33.jpg'
Empty body