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
- Request a sign-in code for the address.
- Verify the code to get an API key.
- Use
x-api-keyon subsequent uploads. CheckinPreviewModeafter 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.