Read a draft
get_draftRead a Substack draft in full as editable markdown for revision, or request raw ProseMirror when exact document structure is needed.
Instructions
Read one draft in full. The body comes back as markdown by default, so you can edit a sentence and send it straight back to update_draft. Ask for prosemirror if you need the raw document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft id. | |
| body_format | No | How to return the body. 'markdown' is editable, 'prosemirror' is exact. | markdown |
| 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. |