Upload file to batch

Upload a file to a batch or update the contents of a previously uploaded file in a batch.

Files can be uploaded one at a time and the suggested max size for each file is 10 MB. For larger files, see Multipart file upload.

Path parameters

batch_idintegerRequired

The batch ID.

filenamestringRequired

A user-defined name for the file. Include the file extension.

Headers

AuthorizationstringRequired

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

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 for details.

Request

This endpoint expects binary data of type bytes.

Response

File uploaded successfully.

Errors