Documentation
Documentation menu

Email capture

Collect verified email addresses before visitors open a project.

Visitor behavior

Visitors enter and verify their email before opening the project. Use an email allowlist when only specific addresses should be admitted. This gate is distinct from the promotional slide-in.

Enable email capture

Use accessMode: "email_gate". This mode is available on Pro and Pro Max plans.

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={"accessMode":"email_gate"}'

Send the hostname of an owned project. This settings-only request keeps its hosted files. See Project settings for the full request and validation rules. Check the gate in a private browser session. Export collected addresses from the project dashboard. To remove the gate, send {"accessMode":"public"}.

Dashboard workflow

Search documentation