# Create Web Download

`POST https://api.torbox.app/v1/api/webdl/createwebdownload`

- Operation ID: `create_web_download`
- Group: Web Downloads (Debrid)
- Auth: API key, `Authorization: Bearer <api key>` (Sign in with TorBox gives the same key)

### Overview

Creates a web download under your account. Simply send a link to any file on the internet. Once it has been checked, it will begin downloading assuming your account has available active download slots, and they aren't too large.

### Authorization

Requires an API key using the Authorization Bearer Header.

## Request body (`application/x-www-form-urlencoded`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `link` | string | yes | An accessible link to any file on the internet. Cannot be a redirection. |
| `password` | string | no | Password to the file, if the files requires it. Optional. |
| `name` | string | no | The name you want the torrent to be. Optional. |
| `as_queued` | boolean | no | Tells TorBox you want this web download.instantly queued. Optional. |
| `add_only_if_cached` | boolean | no | Only adds the download if it is cached on TorBox. If not cached, it won't be added. |

## Responses

- `200` Successful Response
- `400` Bad Request
- `401` Unauthorized
- `403` Forbidden
- `404` Not Found
- `422` Validation Error
- `429` Too Many Requests
- `500` Internal Server Error
- `503` Service Unavailable
