This endpoint generates a presigned URL for uploading a file. The file name is provided in the request body. The presigned URL can be used to upload the file without needing to authenticate again.
HTTP Request
- URL Composition
Base URL: https://api.cloud.precisely.com
Bulk Routing : /v1/li/files/upload-url
- Supported Methods: GET only
Request format
https://api.cloud.precisely.com/v1/li/files/upload-urlRequest body parameters
| Field | Type | Required | Description |
|---|---|---|---|
| fileName | String | Yes | Name of the file to upload. Example: "test_file" |
Example
Request:
https://api.cloud.precisely.com/v1/li/files/upload-urlResponse:
{
"fileId": "54a8b051-6381-4bf8-b88a-d4f7f3fb121a",
"url": "https://dummy-bucket.s3.us-east-2.amazonaws.com/id/email/input/test_file.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DUMMYACCESSKEY%2F20250722%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20250722T140722Z&X-Amz-Expires=600&X-Amz-Security-Token=DummySecurityToken123&X-Amz-Signature=deadbeef1234567890abcdef&X-Amz-SignedHeaders=host",
"message": "This upload URL will be valid for the next 10 mins."
}