Documentation
Documentation menu

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

  1. Request a sign-in code for the address.
  2. Verify the four-character code and save the returned apiKey securely.
  3. Send x-api-key on subsequent uploads. Send one credential header per upload. Check inPreviewMode because the account’s limits and content eligibility still apply.

Search documentation