Documentation
Documentation menu

Email-only previews

Try publishing with an email address before creating a Tiiny Host account.

Publish a preview

Use an address without a Tiiny Host account and send it in x-email. The preview expires after about one hour. A later email-only upload may replace an earlier preview associated with the same address.

curl --fail-with-body https://ext.tiiny.host/v1/upload \
  -H 'x-email: you@example.com' \
  -F 'files=@report.pdf'

The normal upload response gives you a hostname in data.link. Open it over HTTPS.

Sign in for API-key requests

  1. Request a sign-in code for the address.
  2. Verify the code to get an API key.
  3. Use x-api-key on subsequent uploads. Check inPreviewMode after publishing since plan and content eligibility can still affect the result.

If the address already has an account, use your API key or the sign-in flow. Send one of x-email and x-api-key on each upload.

Search documentation