Email-only previews
Try publishing with an email address before creating a Tiiny Host account.
Publish a preview
| Item | Value |
|---|---|
| Method and URL | POST https://ext.tiiny.host/v1/upload |
| Header | x-email: <address> for an address without an account |
| Body | Multipart files parts and optional domain |
| Result | Normal upload envelope with a hostname in data.link. The preview lasts about one hour. |
| Side effect | Publishes the files and can replace an earlier preview associated with that address. |
curl --fail-with-body https://ext.tiiny.host/v1/upload \
-H 'x-email: you@example.com' -F 'files=@report.pdf'
Use https:// + data.link. If the email already has an account, use its API key or the sign-in flow.
Sign in for API-key requests
- Request a sign-in code for the address.
- Verify the four-character code and save the returned
apiKeysecurely. - Send
x-api-keyon subsequent uploads. Send one credential header per upload. CheckinPreviewModebecause the account’s limits and content eligibility still apply.