Skip to main content
POST
UploadFile
v2 available: See POST /v2/sandcastles//files for the REST-native version of this endpoint.

Authorizations

Authorization
string
header
required

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

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
sandboxId
string
required
filename
string
required
content
string<byte>
required

File content, base64-encoded

Response

Success

filename
string
sizeBytes
integer<int64>