Read a post by id
get_post_by_idFetch a published Substack post using its numeric ID. Use when you have an ID from stats or list tools instead of a slug.
Instructions
Read a published post by its numeric id rather than its slug. Use this when a stats or list tool gave you an id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Numeric post id. | |
| 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. |