---
title: "CreateSiteRequest"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Hosted EZ REST API

## Fields

- `CreateSiteRequest.app` (string, required)
  - one of `"wordpress"`, `"nextcloud"`, `"laravel"`, `"drupal"`, `"php"`, `"static"`
- `CreateSiteRequest.name` (string, required)
  - minLength 1; maxLength 120
- `CreateSiteRequest.adminEmail` (string, optional)
  - maxLength 254
- `CreateSiteRequest.adminUser` (string, optional)
  - maxLength 60
- `CreateSiteRequest.includeDatabase` (boolean, optional)
  - default `false`
- `CreateSiteRequest.phpVersion` (string, optional)
  - one of `"8.3"`, `"8.4"`, `"8.5"`; default `"8.5"`
- `CreateSiteRequest.staticConfig` (object, optional)
  - `CreateSiteRequest.staticConfig.cleanUrls` (boolean, optional)
  - `CreateSiteRequest.staticConfig.customHeaders` (array<object>, optional)
    - `CreateSiteRequest.staticConfig.customHeaders.headers` (map<string>, required)
    - `CreateSiteRequest.staticConfig.customHeaders.pathPrefix` (string, required)
      - example `"/assets/"`
  - `CreateSiteRequest.staticConfig.notFoundPage` (string, optional)
    - maxLength 256
  - `CreateSiteRequest.staticConfig.spaFallback` (boolean, optional)


Source: https://docs.hostedez.com/api/schemas/CreateSiteRequest/index.md
