Skip to main content
PUT
/
sandboxes
/
{id}
/
files
/
{filePath}
Upload a file
curl --request PUT \
  --url https://sandbox.brimble.io/sandboxes/{id}/files/{filePath} \
  --header 'Content-Type: application/octet-stream' \
  --header 'x-brimble-key: <api-key>' \
  --data '"<string>"'

Authorizations

x-brimble-key
string
header
required

Your account-level Brimble API key. Find it in the dashboard under your profile drawer → API key (click the avatar in the sidebar). Available on paid plans only.

Path Parameters

id
string
required

24-char hex id of the sandbox.

Pattern: ^[a-f0-9]{24}$
filePath
string
required

Absolute path inside the sandbox, with literal forward slashes (do not URL-encode / as %2F; the edge proxy will reject %2F with a generic 400 before the request reaches the API).

Example: tmp/notes.txt resolves to /tmp/notes.txt inside the sandbox.

Body

application/octet-stream

The body is of type file.

Response

File written

Last modified on May 20, 2026