API reference

REST API over HTTPS. Base URL: https://upload.beamway.net. Authenticate with Authorization: Bearer <token> (create tokens in the dashboard).

Endpoints

RequestDescription
POST/v1/transfersCreate a transfer → transfer_id, part_size, expires_at
PUT/v1/transfers/{transfer_id}/files/{file_id}/parts/{n}Upload part n (8–64 MB; the last part may be smaller)
POST/v1/transfers/{transfer_id}/completeFinalize the upload and get the share link
GET/v1/transfers/{transfer_id}Status, size, expiry, download count
GET/v1/links/{link_id}/downloadDownload (supports HTTP Range)

Example: create a session

curl -X POST https://upload.beamway.net/v1/transfers \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "example.bin", "size": 5368709120}'

Response 201 Created:

{
  "transfer_id": "76739885f2f80f48366e",
  "part_size": 67108864,
  "expires_at": "2026-11-25T12:00:00Z"
}

Errors

HTTPCodeMeaning
400invalid_requestMalformed JSON or a missing field
401unauthorizedMissing or invalid API token
403forbiddenThe token has no access to this resource
404not_foundUnknown id
409conflictThe upload is already finalized
413too_largeFile exceeds your plan limit
429rate_limitedToo many requests, see Retry-After
503unavailableTemporary, retry with back-off

Webhooks

Add an HTTPS endpoint in the dashboard. We send a JSON POST for these events: transfer.completed, link.downloaded, link.expired. Each request carries X-Signature: sha256=… — an HMAC of the body with your webhook secret. Reply with any 2xx.

Limits