v1

latestOpenAPI 3.1.0Proprietary2026-07-1712530196.4 KB
Files

Get presigned upload URL

Request a presigned S3 POST URL for simple upload (up to 10MB). Two-phase flow: presign -> upload to S3 -> confirm.

post/api/im/files/presign

Request body

fileNamestring required

File name (no path separators or null bytes)

fileSizeinteger required

File size in bytes

mimeTypestring required

MIME type (must be in whitelist)

Response

Presigned URL created

okboolean