Create a New Site
Creates a new site with a randomly generated slug and returns presigned upload URLs for each file.Headers
Request Body
array
required
Array of file objects to publish. Must contain at least one file. Maximum 1,000 files.
object
Optional metadata for the site viewer page.
Example Request
Response (201)
Anonymous Publish Response
When noAuthorization header is provided, the response includes additional fields:
Validation Rules
filesarray must not be empty- Maximum 1,000 files per site
- No duplicate file paths
- Paths cannot contain
..or start with/ - Paths cannot contain null bytes
- Path max length: 500 characters
hashmust be exactly 64 lowercase hex characters if provided