Skip to main content
POST
/
v2
/
sandboxes
/
{id}
/
files
Upload File
curl --request POST \
  --url https://app.textql.com/v2/sandboxes/{id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "filename": "<string>",
  "size_bytes": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.textql.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key or JWT token

Path Parameters

id
string
required

Sandbox ID

Body

multipart/form-data
file
file
required

File to upload

Response

Upload confirmation

filename
string

Basename of the uploaded file

size_bytes
integer

Size of the uploaded file in bytes