Generates a signed URL for secure file upload to cloud storage
Request
Body Params application/json
{
"nationalRegister": "string",
"processUniqueId": "string",
"type": "ECF",
"fileName": "string",
"force": false
}
Request Code Samples
curl --location --request POST 'https://hom.roit.ai/roit-data-integration/v1/data/generate-signed-url' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"nationalRegister": "string",
"processUniqueId": "string",
"type": "ECF",
"fileName": "string",
"force": false
}'
Responses
application/json
Signed URL generated successfully
{
"status": "success",
"message": "Signed URL generated successfully",
"data": {
"signedUrl": "https://storage.example.com/upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...",
"expiresAt": "2024-01-15T13:00:00Z",
"fileName": "documento_nfe.xml",
"processUniqueId": "bb0c892a-9695-414d-966b-c3cd66959067"
}
}
Modified at 2025-08-04 17:31:00