Upload File to Storage
Request Method
PUT
Request URL
{PRE_SIGNED_URL} received in the response body of previous API.
Request Headers
Parameter
Data Type
Field Validations
Description
Content-Type
String
Valid mime type
Mandatory. This should be the same as “filecontenttype” used in the previous API. For Excel file, use “application/vnd.ms-excel”
Request Path Params
There are no path parameters for this API.
Request Query Params
There are no query parameters for this API.
Request Body
File to be uploaded as binary.
Response Status Codes
HTTP Status Code
Description
200
OK
400
Bad request
401
Unauthorized
403
Forbidden
Response Schema
Sample Request and Response
Sample Request
Sample Response
The response body will be blank but the status code will be 200 for success.
API Validations
Currently there are no known validations.
API Constraints
Once a pre-signed URL is generated, it will be valid for only 10 mins. If upload fails, generate a new pre-signed URL and try again.
Last updated