Documentation
Documentation menu

Email allowlist

Restrict a project to specific visitors who verify an approved email address.

Visitor behavior

Visitors sign in with a code sent to their approved address. Supply full email addresses; a whole domain such as @example.com is insufficient. This is distinct from email capture, which admits any verified address.

Set the allowlist

Choose email_protect and send the full, nonempty allowedEmails array. Addresses are trimmed and lowercased. Enabling this mode is supported on Pro and Pro Max.

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_protect","allowedEmails":["ana@example.com","sam@example.com"]}'

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. Send every address that should retain access when editing the list. Check the gate with an approved address in a private browser session. EMAIL_LIST_REQUIRED means the list is missing or empty; INVALID_EMAIL_LIST means an entry failed validation. Choose public to remove the gate.

Dashboard workflow

Search documentation