Subscribe to Substack publication
Automatically subscribe to Substack publication on substack.com. Subscribe the logged-in account to a Substack publication's free tier.
Input
publicationUrl requiredBase URL of the Substack publication, e.g. https://example.substack.com
Output
subscribed requiredpublicationId requiredpublicationUrl requiredsubscriptionId optionalFAQ
List Substack newsletter posts
List a Substack publication's posts from its archive, newest or top first, with optional keyword search and pagination. Returns each post's title, slug, publish date, paywall status, and reaction/comment/restack counts.
Post Substack comment
Post a comment on a Substack post as the logged-in account. The account needs a display name set up on Substack first (via any post's comment box) — the script fails loudly with instructions if it isn't.
Delete Substack comment
Delete one of the logged-in account's own comments on a Substack post, by the post URL and the comment's id (from post_comment or get_post_comments). Only your own comments can be deleted, and this cannot be undone.
