{"openapi":"3.1.0","info":{"title":"Salamnder Social Studio HTTP API","version":"0.1.0","description":"Plan, review, and publish personal social drafts with the AI assistant you already use. Saving a draft does not publish. POST /api/social/publish is the only REST post-now path. Auth: Authorization: Bearer <studio password or buyer API key>, or the studio_session cookie. MCP Streamable HTTP lives at https://salamndersocialstudio.com/api/mcp."},"servers":[{"url":"https://socials-studio-rho.vercel.app","description":"Production"},{"url":"http://localhost:3000","description":"Local"}],"security":[{"studioBearer":[]},{"studioCookie":[]}],"paths":{"/api/social/drafts":{"get":{"summary":"List drafts, or get one by id","parameters":[{"name":"id","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Library list or one draft"},"401":{"description":"Sign in first"}}},"post":{"summary":"Create a draft (does not publish)","responses":{"200":{"description":"Saved draft"}}},"patch":{"summary":"Update a draft (does not publish)","responses":{"200":{"description":"Updated draft"}}},"delete":{"summary":"Delete a draft","parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{ ok: true }"}}}},"/api/social/publish":{"post":{"summary":"Publish now (explicit; never a side effect of save)","responses":{"200":{"description":"Per-platform results"},"400":{"description":"Nothing could post"}}}},"/api/social/connections":{"get":{"summary":"Which personal platforms are connected and live","responses":{"200":{"description":"Platform summaries (no tokens)"}}}},"/api/mcp":{"get":{"summary":"MCP discovery hello","security":[],"responses":{"200":{"description":"Live Streamable HTTP hello"}}},"post":{"summary":"Remote MCP Streamable HTTP JSON-RPC","responses":{"200":{"description":"JSON-RPC result. initialize / ping / tools/list work without a key."},"401":{"description":"tools/call or other locked methods missing lock or API key"}}}}},"components":{"securitySchemes":{"studioBearer":{"type":"http","scheme":"bearer","description":"Studio password or buyer API key. Header auth is the path that works."},"studioCookie":{"type":"apiKey","in":"cookie","name":"studio_session"}}}}