Integrate Tiiny Host into your workflow
All API requests require an API key. Include it in the request headers:
Get your API key from your dashboard settings.
Upload a new site
| Parameter | Type | Required | Description |
|---|---|---|---|
| files | file | Yes | ZIP file or HTML file to upload |
| domain | string | Yes | Subdomain name for your site |
| siteSettings | JSON | No | Additional site configuration |
Update an existing site
| Parameter | Type | Required | Description |
|---|---|---|---|
| files | file | No | New ZIP file or HTML file |
| domain | string | Yes | Subdomain of site to update |
| siteSettings | JSON | No | Updated site configuration |
Get your account profile and list of sites
Delete a site
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | Yes | Subdomain of site to delete |
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 404 | Not Found - Site does not exist |
| 500 | Server Error - Something went wrong |