Projects
Publish projects and configure how visitors find, access, and interact with them.
Scroll down to explore project features in one place, or use the Projects menu to jump to a section. Each section also has a standalone page.
Publish and manage a project
Create a project to put files online. To change an existing project, fetch your profile to find its hostname, then update it with the full set of files you want to keep. Delete a project removes the whole project.
Choose who can see it
- Access control compares all the visitor access modes.
- Password protection is useful when you want to share one password with everyone.
- Email capture collects verified visitor email addresses.
- Email allowlist lets you choose exactly who can open the project.
- Search indexing controls whether you ask search engines to list the project.
Customize what visitors see
- Comments and feedback lets visitors leave feedback on the project.
- Page title and description sets the text that appears in browser tabs and link previews.
- Preview images and favicons sets the image for shared links and the icon in the browser tab.
- Promotional slide-in adds a call to action.
Manage the project after publishing
Explore custom domains, analytics, and project data for the tasks you can do from the API and the dashboard.
Use Project settings for request examples and the settings reference for supported fields.
Access control
Choose whether visitors open a project directly, enter a password, or verify an email address.
Open this section on its ownChoose who can open the project
Use accessMode in project settings: public for anyone with the link, password for a shared password, email_gate for verified email capture, or email_protect for approved addresses. Selecting a mode turns off the other modes.
You can change access on an owned project without uploading its files again. For projects using SSO, change access in the dashboard. See Settings reference.
Password protection
Require visitors to enter a shared password before opening the project.
Open this section on its ownRequire visitors to enter a shared password before they open the project. Send accessMode: "password" and a nonempty password without a colon in the settings field. Choose public to remove the gate. An owned project keeps its files during a settings-only update.
Password protection is available on Solo, Pro, and Pro Max plans. Share the password separately from the project link.
Email capture
Collect verified email addresses before visitors open a project.
Open this section on its ownEmail capture asks visitors to verify their address before opening a project. Send accessMode: "email_gate" in project settings. Choose public to remove the gate. You can change an owned project without re-uploading its files and export captured addresses from the dashboard.
Email capture is available on Pro and Pro Max plans. Dashboard workflow.
Email allowlist
Restrict a project to specific visitors who verify an approved email address.
Open this section on its ownRestrict a project to specific visitors who verify an approved email address. Send accessMode: "email_protect" and a nonempty allowedEmails list in project settings. Send the complete list when changing it; addresses are normalized to lowercase. Choose public to remove the restriction.
This access mode is available on Pro and Pro Max. Dashboard guide.
Search indexing
Control whether your project asks search engines to include it in results.
Open this section on its ownSend disableIndexing: true in the settings field to hide a project from search engines, or false to let them index it again. You can also choose Customize project → Access Settings → Hide from search engines in the dashboard. Hiding a project requires a paid plan.
A crawler directive asks search engines to leave the project out of results. A public link still opens for anyone who has it. For privacy, choose access control.
Comments and feedback
Turn visitor comments on or off for a project.
Open this section on its ownTurn visitor comments on or off with comments: true or comments: false in project settings. An owned project’s files stay in place during a settings-only update. Existing access gates remain in place when accessMode is omitted.
Page title and description
Set the text shown in browser tabs, search results, and link previews.
Open this section on its ownSet pageTitle and metaDescription in project settings to control page and link-preview text. An owned project’s files stay in place during a settings-only update. Titles can be up to 60 characters and descriptions up to 145; send an empty string to clear a custom value. These features require a paid plan.
Add a preview image to control the visual that accompanies the text.
Preview images and favicons
Set the image used for shared links and the icon shown in the browser tab.
Open this section on its ownUpload a share image with ogImageFile or a favicon with logoImageFile. Both accept JPG, JPEG, PNG, GIF, or WebP. The share image can be up to 300 KiB; the favicon can be up to 64 × 64 pixels. These features require a paid plan.
On an owned project, an image-only update keeps existing content. To restore the default share image, send removeOgImage: true in settings. To clear the favicon, send removeLogo: true. Do not combine a removal flag and the corresponding image in one request. See Project settings.
Promotional slide-in
Add an on-page promotion with a title, description, and call-to-action link.
Open this section on its ownA promotional slide-in can invite someone to book a demo, visit a page, or get in touch. In project settings, send a leadCapture object with mode: "promotional", plus the title, description, button text, and URL. Choose none to remove it.
The title, description, and button text are limited to 50, 120, and 25 characters. Enabling the slide-in requires Solo, Pro, or Pro Max.
Custom domains
Connect, verify, list, and remove custom domains, and publish projects to them.
Open this section on its ownConnect a domain
Connect your own domain so projects can be published at addresses like docs.example.com. You can do this through the API or in the dashboard under Custom Domains.
- Send the domain to
POST /v1/custom-domains. The response lists the DNS records to add, and the same records are emailed to you. - Add the records at your DNS provider, such as GoDaddy, Cloudflare, or Namecheap.
- Call
POST /v1/custom-domains/{domain}/verifyuntilstatusisactive. This usually takes a few minutes and can take up to 72 hours.GET /v1/custom-domains/{domain}shows which records are already live. - Publish with
domainset to a hostname on the domain, such asdocs.example.com.
curl --fail-with-body https://ext.tiiny.host/v1/custom-domains \
-H "x-api-key: $TIINY_API_KEY" -H 'Content-Type: application/json' \
-d '{"domain":"docs.example.com"}'
Send a subdomain such as docs.example.com to publish on any hostname of the domain. Send the domain itself, such as example.com, to also redirect visitors from example.com to www.example.com; this needs two extra records. The setup is fixed once the domain is connected.
Custom domains are available on Solo (5 domains), Pro (15), and Pro Max (25). GET /v1/custom-domains lists your domains with your limit and how many you use.
Publish to your domain
When uploading, set domain to the full hostname you want. If the hostname already belongs to one of your projects, the upload replaces its files, so send all the files you want to keep. Uploading to a custom domain that is not connected to your account returns 403 with CUSTOM_DOMAIN_NOT_OWNED.
Remove a domain
Delete every project on the domain first, then call DELETE /v1/custom-domains/{domain}. If projects remain, the request is refused with DOMAIN_HAS_SITES and lists them. Domains bought through Tiiny Host are managed in the dashboard.
Select For agents for the full endpoint list, response shapes, and error codes. See also the connection guide.
Analytics
Find project traffic, referrers, device data, and eligible download metrics.
Open this section on its ownSee how people use your project
Open the project in the Tiiny Host dashboard and select its Analytics icon. You can see visits, page views, referrers, locations, and devices on eligible paid plans. Solo and above also show per-page PDF activity and download counts.
Use the dashboard for metrics. The profile API is for identifying projects and reading account limits. Learn what the metrics mean.
Project data
Work with project records, hosted files, and collected visitor emails.
Open this section on its ownUse Fetch profile to find project records and hostnames. Upload a complete file set to replace hosted content; settings-only updates keep the files. Export captured visitor emails from the dashboard.
For application data or forms that need storage, use an external backend or form service. The public API does not expose a general project data store or per-file inventory.
Settings reference
Fields, eligibility, and validation for project settings.
Open this section on its ownUpdate an owned project
Send settings as a multipart text field containing a JSON object. Supply the hostname of an owned project and omit content files to keep them. New projects require files; including files on an existing project replaces its file set.
curl --fail-with-body -X PUT https://ext.tiiny.host/v1/upload \
-H "x-api-key: $TIINY_API_KEY" \
-F 'domain=example.tiiny.site' \
--form-string 'settings={"comments":true,"pageTitle":"Quarterly report"}'
See Project settings for the supported fields and Access control for visitor access modes.
Validation errors
An invalid setting returns HTTP 400 with INVALID_SITE_SETTINGS. The errors array identifies each field, code, and message. Select For agents for the field and error tables.