Create an upload link
Returns a temporary link that uploads exactly one file to this key through the S3 gateway: the file whose size and SHA-256 you send. Send the file with a single HTTP PUT to url, with exactly the headers in the answer; the file never passes through this API. The link carries at most 80,000,000 bytes (larger files: an S3 tool, which uploads in parts) and replaces an object with the same key. It works for expires_in seconds (60 to 1,800; 900 when not given), and anyone holding it can use it until then, so treat it like a password. When the file arrives, an organization verified only by the Rs 1 payment that has used its free storage is refused with 403 free_storage_limit_reached, and 503 with Retry-After means the storage allowance could not be checked: retry later. Check the result with Get object metadata. Requires scope: object-storage.write.
Authentication
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
The object’s key, such as photos/2026/cat.jpg, sent with plain / between segments; percent-encode other reserved characters in a segment (a space as %20). At most 1,024 bytes. A key with an empty, . or .. segment, or with ?, #, %, \ or a control character, is refused with 400.
Query parameters
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Request
The file’s exact size in bytes; at most 80,000,000.
The file’s SHA-256, base64-encoded (44 characters), as openssl dgst -sha256 -binary FILE | base64 prints it.
The file’s media type, such as application/pdf. Sent with the upload when given.
Response
Headers the upload must send unchanged (Content-Length, x-amz-checksum-sha256, and Content-Type when given).
The most one upload link carries (80,000,000).
