POST/organizations/{organizationId}/files/uploads

Create a multipart file upload

Creates an upload session and returns pre-signed part URLs for files up to 25 GB.

Send request

Use the documented inputs to call this endpoint directly.

API serverbase URL
Bearer tokenBearerAuthoptional
Stored only in this browser for the BearerAuth security scheme and reused on every API page in this group.

Parameters

Values are applied to the request and the example on the right.

organizationIdpath · stringrequired

Opaque organization identifier.

Idempotency-Keyheader · string · uuidoptional

Unique key for retry-safe writes, retained for 24 hours.

Request body

application/jsonrequired
filenamestringrequired
content_typestringrequired
size_bytesintegerrequired
checksum_sha256stringoptional
metadataobjectoptional

Responses

201application/json

Upload session created.

{
  "id": "upl_01J8FH2P6Q4T9V7M3K5",
  "file_id": "fil_01J8FE2X7M5P9Q4V6K1",
  "part_size_bytes": 8388608,
  "parts": [
    {
      "part_number": 1,
      "url": "https://uploads.demo.heyo.example/…",
      "expires_at": "2026-09-03T13:00:00Z"
    }
  ],
  "complete_url": "https://api.demo.heyo.example/v3/uploads/upl_01J8FH2P6Q4T9V7M3K5/complete",
  "expires_at": "2026-09-03T13:00:00Z"
}
idstringoptional
file_idstringoptional
part_size_bytesintegeroptional
partsarray<object>optional
complete_urlstringoptional
expires_atstring · date-timeoptional
413

Requested file is larger than the plan limit.