Upload part to multipart session

Upload part of a file to the multipart upload session. The size of each part must match the part_size returned by the Start multipart upload session call, except for the final part, which can be smaller.

Parts must be uploaded with consecutive part numbers starting at 1.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

session_idstringRequired
The session ID obtained from the Start multipart upload session response.
part_numintegerRequired
The part number, starting at 1 and increasing consecutively for each part.

Headers

IB-ContextstringOptional
Specify whether to use your community account or organization account to complete the request. To use your community account, define as your user ID. To use your organization account, define as your organization ID. If unspecified, defaults to community account context. See [Authorization and context identification](/api-sdk/authorization#ib-context-header) for details.

Request

This endpoint expects binary data of type application/octet-stream.

Response

The part was successfully uploaded.
part_idstring
ID of the uploaded part.
part_numinteger
The part number of the uploaded part, indicating upload order. Identical to the part number in the request URL.