App Logo
substack.com

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.

Input

url required

Full URL of the Substack post the comment is on, e.g. https://example.substack.com/p/my-post-slug. Many publications are served from their own domain rather than *.substack.com; those may be refused, because the signed-in Substack session is not known to reach a publication's own domain.

commentId required

The comment's id, from post_comment's output or get_post_comments

Output

url required
deleted required

True once Substack's own delete call has answered 200. The script fails rather than returning false, so a returned record always means the comment is gone.

commentId required

Start building not clicking