Bulk Routing API
Bulk Multipass API
Bulk Data Graph API
Bulk Order Management API
Bulk Analysis API

Generates a pre-signed url for a user

This endpoint generates a pre-signed Url for uploading a file. The file name is provided in the request body. The pre-signed Url can be used to upload the file without needing to authenticate again.

post/v1/li/files/upload-url

Request

  • Base URL: https://api.cloud.precisely.com
  • URL: https://api.cloud.precisely.com/v1/li/files/upload-url
  • Auth: HTTP bearer

Headers

X-Request-Idstring

The X-Request-Id header is optional but helpful for tracking requests. It acts as a unique identifier for troubleshooting and debugging issues effectively. Maximum length: 38 characters. Example: e02f00d5-e3a9-4fd6-aen1-3e5451abee46

Request body

fileNamestring

Name of the file to upload

Example request

{
  "fileName": "test_file"
}

Response

pre-signed url in UploadUrlResponse

fileIdstring required

file Id for uploading file

urlstring url required

pre signed url for uploading the file on S3

messagestring required

message for the response

Example response

{
  "fileId": "8d907c8c-5b63-417f-b69f-2d33dbdd2fcd",
  "url": "https://us-east-1-test.s3.us-east-1.amazonaws.com/test/test_user_1%40precisely.com/input/test_new%3A%3A8d907c8c-5b63-417f-b69f-2d33dbdd2fcd%0A",
  "message": "This download URL will be valid for the next 10 mins."
}

Changes

No recorded changes to this operation across all 1 revision of this API.