Create Upload File

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

The Create Upload File Task API allows users to create an upload task for a list of original file URLs. The backend processes the provided URLs and assigns a unique task ID for tracking the upload progress.

This API is especially useful for:

  1. Automating file uploads for various applications.
  2. Managing and tracking the upload process via task IDs.
  3. Simplifying bulk file uploads in an efficient manner.

Request Parameters

Public Request Parameters

📘

Body Parameters

Field Type Required Description Example
original_source_list array of strings Yes A list of original file URLs to be uploaded. Each URL must be a valid link pointing to a file. ["https://picx.zhimig.com/v2-3b4fc7e3a1195a081d0259246c38debc_720w.jpg?source=172ae18b"]

Response Explanation

Public Response Parameters

📘

Success Response

FieldTypeDescriptionExample
codestring"success"Response status code
messagestringDescriptive message of the response
data.task_idstringUnique ID assigned to the task.300b5e33-3ac5-41c5-9819-7e2e8aad6a98

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!