We store the download link in a separate REST endpoint to allow quicker access.

Please note that downloads are only available for 24 hours after running a job.

Get Downloads

curl "*" \
     -H 'apikey: WTZ_API_KEY' \
     -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer WTZ_BEARER_TOKEN' \
     -d $'{}'
JavaScript (fetch)
fetch("*", {
      "method": "GET",
      "headers": {
            "apikey": "WTZ_API_KEY",
            "Content-Type": "application/json",
            "Authorization": "Bearer WTZ_BEARER_TOKEN",
.then((res) => res.text())

You get a 200 code and a JSON object in return containing all downloads associated with your account:

    "id": 123,
    "created_at": XXX,
    "job_id": XXX,
    "download_link": "https://webtozip-exports...."
    "id": 345,
    "created_at": XXX,
    "job_id": XXX,
    "download_link": "https://webtozip-exports...."
Please replace WTZ_API_KEY with your own API key.
Please replace WTZ_BEARER_TOKEN with your own Bearer Token