Generates the downloadable URL, and gives access to your service for downloading the converted file from it.
Loading, Please Wait...
Generates the downloadable URL, and gives access to your service for downloading the converted file from it.
POST https://api.vertopal.com/v1/download/url
Authorization: Bearer [APP_TOKEN]
data={
"app": "[APP_ID]",
"connector": "[CONNECTOR]"
}
curl -L -X POST 'https://api.vertopal.com/v1/download/url' \
-H 'Authorization: Bearer [APP_TOKEN]' \
-F 'data={
"app": "[APP_ID]",
"connector": "[CONNECTOR]"
}'
vertopal api -v 1 download/url \
--app "[APP_ID]" \
--token "[APP_TOKEN]" \
-F data='{
"app": "%app-id%",
"connector": "[CONNECTOR]"
}'
from vertopal.api.v1 import API
API.download(
app="[APP_ID]",
token="[APP_TOKEN]",
connector="[CONNECTOR]",
url=True,
)
use Vertopal\API\Credential;
use Vertopal\API\V1;
require "vendor/autoload.php";
$credential = new Credential("[APP_ID]", "[APP_TOKEN]");
V1::downloadURL($credential, "[CONNECTOR]")
The connector for connecting to another task as the data key.
The original name of the converted file.
The original size of the converted file in bytes.
When the converted file will be deleted from the Vertopal.
The generated URL to download the converted file.
The task has been executed successfully without any errors.
{
"result": {
"output": {
"connector": "[CONNECTOR]",
"name": "sample.jpg",
"size": 182311,
"expires_at": "2023-03-24 08:15:36",
"url": "https://api.vertopal.com/v1/download/url/get"
},
"error": {},
"warning": {}
}
}