Upload File Part

POST/

Upload a single file part. Each part is a fixed 16 MB except the last one, which may be smaller.

You must first call Create Multipart Upload Task to obtain a TaskId.


Request Parameters

AuthorizationRequiredstring
Bearer <access_token>
X-TC-ActionRequiredstring
API action name, fixed value: `CreateUploadPart`
X-TC-TimestampRequiredstring
Current UNIX timestamp in seconds
X-TC-LanguageRequiredstring
Response language, required. Supported values: zh-CN / zh-TW / en-US / vi-VN / th-TH / ms-MY / id-ID
multipart/form-data
TaskIdstring
Multipart upload task ID returned by the Create Multipart Upload Task endpoint
PartIdinteger(int32)
Part number, starting from `1`
IsLastboolean
Whether this is the last part. Recommended to set `true` for the final part.
Partfile
Binary content of the file part. Fixed 16 MB per part, last part can be smaller.
Md5string
MD5 Hex-encoded value of the current part (optional). Must be 32 characters. If provided, the part content will be verified against this hash

Response Parameters

ResponseOptionalobject
Sub-properties
RequestIdOptionalstring
Request ID for tracking and debugging
ErrorOptionalobject
Error information (null on success)
Sub-properties
CodeOptionalstring
Error code. Common codes: `INVALID_REQUEST` / `UNAUTHORIZED` / `FORBIDDEN` / `NOT_FOUND` / `INTERNAL_ERROR`. Endpoints may also return business-specific codes such as `VALIDATION.*`, `ENVELOPE.*`, `SIGNING.*`, `OPENAPI.*`. See individual endpoint documentation for details
MessageOptionalstring
Error description

Response Example

{
  "Response": {
    "RequestId": "a6c43ab5-895d-4eb8-98b8-c64edb4e3331"
  }
}