Publish a draft
publish_draftPublish a Substack draft immediately; set send=false for web-only, or email all subscribers. Requires confirm=true, and sent emails cannot be unsent.
Instructions
Publish a draft immediately. With send: true this emails every subscriber you have, and an email cannot be unsent. The post also becomes publicly visible. Refuses to run without confirm: true. To put a post live without emailing anyone, pass send: false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id to publish. | |
| send | No | Email the post to subscribers. true sends to your whole list and cannot be undone. false publishes to the web only. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |