Publish anonymous page
publish_anonymous_pagePublish a public web page without an account or API key. It is deleted 48 hours after publishing unless the user opens the returned claimUrl and signs in. Returns the page URL, the claimUrl and tellUser: always relay tellUser and the claimUrl, and tell the user to keep the page before sending it to anyone. If the user gives an email address, pass it as reminderEmail: the claim link is emailed now and again before deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional address label, 3-40 lowercase letters, digits or hyphens. Random when omitted. | |
| files | Yes | Files of the page. The complete resulting page includes index.html at the top level. | |
| siteName | No | Name shown to the user and recipients, e.g. "Q3 report". | |
| reminderEmail | No | Optional. The user's email address, only if they give it: we email them the claim link now and before the page is deleted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public page address (works for 48 hours). | |
| siteId | No | Page id. | |
| claimUrl | No | Show to the user: opening it while signed in keeps the page. | |
| tellUser | No | Tell the user this, with the claimUrl: when the page is deleted and how to keep it. | |
| deletesAt | No | When the page is deleted, for people to read (UTC). | |
| expiresAt | No | When the page is deleted (ms since epoch). | |
| fileCount | No | Files published. | |
| reminderEmailSent | No | Present when reminderEmail was given. |