Tusflow

Get upload status

Retrieve the current status of an upload including progress information

GET
/files/{uploadId}
/files/{uploadId}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

JWT token for authentication

In: header

X-API-Key<token>

Optional API key for authentication

In: header

Path Parameters

uploadId
Required
string

Unique identifier for the upload

curl -X GET "https://uploader.tus.api.mpesaflow.com/files/string" \
  -H "Authorization: Bearer <token>"

Upload status retrieved successfully

{
  "uploadId": "abc123",
  "totalSize": 1048576,
  "uploadedSize": 524288,
  "progress": 50,
  "status": "uploading",
  "chunkSize": 8388608,
  "networkSpeed": 1048576,
  "uploadedChunks": [
    0
  ]
}

Edit on GitHub

Last updated on