**Version: 202201**

# Create Upload File Task

**POST** `/openapi/2022-01/file`

The Create Upload File Task API allows developers to upload files to the server. This endpoint supports uploading multiple files at once.

## Request

**application/json**

**Body | Example**

**Body**

- `original_source_list` string[] (required)

  A list of original file URLs to be uploaded. Each URL must be a valid link pointing to a file to process.Original source list, picture link, for example: `["https://picx.zhimg.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b"]`

```json
{
  "original_source_list": [
    "string"
  ]
}
```

## Responses

**200 | 400 | 500**

200

**application/json**

**Schema | Example | Result**

**Schema**

- `task_id` string

  **Example:** `300b5e33-3ac5-41c5-9819-7e2e8aad6a98`

```json
{
  "task_id": "300b5e33-3ac5-41c5-9819-7e2e8aad6a98"
}
```

```json
{
    "task_id": "300b5e33-3ac5-41c5-9819-7e2e8aad6a98"
}
```

400

**application/json**

**Schema | Example | Result**

**Schema**

- `msg` string

  **Example:** `request status not ok`
- `status` integer

  **Default value:** `0`

  **Example:** `400`

```json
{
  "msg": "request status not ok",
  "status": 400
}
```

```json
{
  "msg": "request status not ok",
  "status": 400
}
```

500

**application/json**

**Schema | Example | Result**

**Schema**

- `msg` string

  **Example:** `Internal Server Error`

```json
{
  "msg": "Internal Server Error"
}
```

```json
{
  "msg": "Internal Server Error"
}
```
