Get File URL by ID
GETDescription: Retrieve a file URL for a specified ID. The generated URL automatically downloads the file. If you haven't generated a file yet, use the appropriate endpoint to do so./v2/storage/files/:id/url
Request
Path Parameters
File ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
Responses
- 200
- 400
- 401
- 422
File URL returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
URL File.
Size File. This format is in bytes. Ex: 307504 Bytes => 300 KB => 0.3 MB
File State. When READY you receive the url for download.
{
"url": "https://s3.amazonaws.com/bucket/folder/file.csv",
"size": 307504,
"state": "READY"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.