NapX PMS Docs
GET
/v1/files/public-upload-url

Query Parameters

fileName*string

Original file name — used to derive the S3 key extension

fileType?string

MIME type of the file to be uploaded

fileSize*integer

File size in bytes. Required for direct public uploads and limited to 10 MB.

folder?string

Subfolder prefix inside the tenant's S3 directory. Defaults to "images". Use "space-images" for space type photos, "product-images" for product images.

Response Body

curl -X GET "https://example.com/v1/files/public-upload-url?fileName=room-view.jpg&fileSize=204800"
Empty