Create a new upload
Initiates a new file upload session
POST
/
files
/{uploadId}
Authorization
Authorization
RequiredBearer <token>
JWT token for authentication
In: header
X-API-Key
<token>
Optional API key for authentication
In: header
Request Body
application/octet-stream
Optionalbody
string
Format:
"binary"
Header Parameters
Upload-Length
string
Total size of the file in bytes
Upload-Defer-Length
string
Indicates if the upload length will be provided later
Value in:
1
Tus-Resumable
Requiredstring
TUS protocol version
Value in:
"1.0.0"
Upload-Metadata
string
Custom metadata for the upload (base64 encoded)
Path Parameters
uploadId
Requiredstring
Unique identifier for the upload
Upload created successfully
Edit on GitHub
Last updated on