How to post notes to Substack via CLI

How to post notes to Substack via CLI. Unofficial API Substack flow — register to get your API key, then post notes via CLI.

How to post notes to Substack via CLI

Substack does not ship an official public posting API. API Substack gives authors an unofficial way to post notes to Substack via CLI.

Run our CLI commands locally to draft, publish, and schedule posts.

Steps

1) Register on API Substack (required). 2) Generate your API key. 3) Connect your Substack publication. 4) post notes through CLI using that key.

You must create an account to receive an API key. Without registration, posting via API Substack will not work.

Register and get your API key

Partners

API Substack

The posting API for Substack authors — draft, publish, and schedule posts from code.

© 2026

API Substack