Last Updated: September 5, 2024
- Draft creation - Create posts with markup syntax for any account
- Draft publishing - Publish drafts immediately with email/audience options
- Multi-account support - Manage multiple Substack accounts simultaneously
- Cookie management - Update authentication cookies via webhook per account
- Account switching - Use different accounts by specifying
user_id
- Create drafts →
POST /drafts/create-markupwithuser_id - Publish posts →
POST /drafts/{id}/publishwithuser_id - Update cookies →
POST /webhook/update-environmentwithuser_id - List accounts →
GET /accounts - Account isolation → Each account has separate
.envfile inenv/directory
- 31 content types - All headings, formatting, lists, quotes, buttons, widgets
- Rich formatting - Bold, italic, strikethrough, inline code, links
- Interactive elements - Subscribe buttons, share buttons, comment prompts
- LaTeX support - Mathematical equations
- Code blocks - Syntax highlighted code
- Account-specific webhooks - Update cookies when they expire per account
- Automatic account creation - New accounts created via webhook with new
user_id - Environment isolation - Each account completely separated
- API documentation - Interactive docs at
/docs
api_server.py- Multi-account HTTP API servermulti_account.py- Account management utilitiesenv/directory - Account-specific environment files (.account1.env,.account2.env)INSTRUCTIONS.md- Quick usage commands
- List accounts → See available accounts
- Create draft → Specify
user_idfor target account - Publish post → Use same
user_idto publish - Update cookies → Webhook updates for specific
user_idwhen cookies expire
Status: ✅ PRODUCTION READY - Multi-account Substack automation