create_shorttext
Create a new shortText and get a shareable shorttext.com URL back. Markdown is supported. Requires an API key in the request Authorization header (Bearer st_live_…, request one from api@shorttext.com) — without it, creation is rejected (reading stays open to everyone).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The text content (Markdown supported, max 30,000 chars). | |
| expiry | No | Defaults to "never". | |
| password | No | Required when visibility is "private". | |
| visibility | No | Defaults to "public". "private" requires a password. | |
| burnAfterRead | No | Delete after the first view. Defaults to false. |