# Docswrite > Docswrite is the publishing API for AI agents: one REST API and one MCP server that publish to every blog, CMS and social network a workspace has connected: WordPress, Webflow, Shopify, Ghost, Contentful, Medium, Dev.to, Hashnode, GitHub, X, LinkedIn and a hosted Docswrite blog. Docswrite is a publishing hub. A workspace connects its destinations once (OAuth or a site credential, stored by Docswrite); agents then publish with a single call that names one or more connections. Content is Markdown or HTML sent by the agent, or a Google Doc, and Docswrite converts it for each destination with formatting, images and SEO fields intact. Publishing is asynchronous: every call returns a job you can poll, or subscribe to signed webhooks. ## Developer & agent resources - [Docswrite developers: API, MCP and OAuth](https://docswrite.com/developers): the developer portal, start here. - [Docswrite API docs](https://docs.docswrite.com/api-reference/introduction): API reference, endpoints and parameters. - [Docswrite OpenAPI spec](https://api.docswrite.com/openapi.json): OpenAPI 3.1 for the REST API (copy at https://docswrite.com/openapi.json). - [Docswrite API authentication (auth.md)](https://docswrite.com/auth.md): OAuth 2.1 for agents, org API keys, rate limits and errors. - [Docswrite MCP server](https://docswrite.com/.well-known/mcp/server-card.json): remote MCP at https://api.docswrite.com/mcp (streamable HTTP, OAuth 2.1 or an org API key; tools: `list_connections`, `publish_post`, `list_posts`, `get_post_status`, `update_post`, `get_account_info`, `list_pricing_plans`, `upgrade_plan`, `search`, `fetch`, `list_activity`), plus a no-auth discovery MCP at https://docswrite.com/mcp. - [Docswrite hosted WordPress MCP server](https://docswrite.com/product/wordpress-mcp): the remote MCP compared with the self-hosted WordPress MCP Adapter. - [Docswrite docs MCP](https://docs.docswrite.com/mcp): search the Docswrite documentation from any MCP client. - [Docswrite agent setup (agents.md)](https://docswrite.com/agents.md): step-by-step instructions an agent can follow to connect Docswrite. - [Docswrite agent skills](https://docswrite.com/.well-known/agent-skills/index.json): installable SKILL.md files (publish, connect). - [Docswrite API catalog](https://docswrite.com/.well-known/api-catalog): RFC 9727 link set for the API. - [Docswrite sandbox and testing](https://docswrite.com/sandbox): how to test publishing without touching a live site. - [Docswrite pricing (pricing.md)](https://docswrite.com/pricing.md): plans in markdown. - [Developers llms.txt](https://docswrite.com/developers/llms.txt): the developer section only, with endpoints and scopes. - [Blog llms.txt](https://docswrite.com/blog/llms.txt): every blog post with a one-line summary. - [Full llms.txt](https://docswrite.com/llms-full.txt): this index plus the full auth, API and skill text. ## Destinations Publish to WordPress, Shopify, Webflow, Contentful, GitHub, Ghost, Dev.to, Hashnode, Medium, X (Twitter), LinkedIn and Docswrite hosted blog. One call (`POST /api/v1/posts` or the MCP tool `publish_post`) sends the same post to up to 20 connections at once, social accounts included. ### Blogs & CMS - **WordPress** (`wordpress`): Posts and pages with categories, tags, authors, featured image, Yoast / Rank Math / Newspack fields and ACF. - **Shopify** (`shopify`): Blog articles on a Shopify store. - **Webflow** (`webflow`): Items in a Webflow CMS collection, with field mapping. - **Contentful** (`contentful`): Entries in a Contentful space. - **GitHub** (`github`): Markdown files committed to a repository (static sites, docs, Hugo, Jekyll, Astro). - **Ghost** (`ghost`): Posts on a Ghost site: publish, schedule or draft. - **Dev.to** (`devto`): Markdown articles on a DEV Community profile. - **Hashnode** (`hashnode`): Articles on a Hashnode blog. - **Medium** (`medium`): Stories on a Medium profile. - **Wix** (coming soon) (`wix`): Wix blog posts. - **Docswrite hosted blog** (`docswrite`): A blog hosted by Docswrite on a subdomain or your own domain: no CMS to run. ### Social - **X (Twitter)** (`twitter`): Posts on an X account. - **LinkedIn** (`linkedin`): Posts on a LinkedIn profile. - **Bluesky** (coming soon) (`bluesky`): Posts on a Bluesky account. - **Threads** (coming soon) (`threads`): Posts on a Threads account. ## API at a glance - Base URL: https://api.docswrite.com - Auth: `Authorization: Bearer ` for agents acting for a user, or `Authorization: Bearer dw_live_...` (org API key) for server-to-server. Details: https://docswrite.com/auth.md - `GET /api/connections`: list the workspace's destinations; use their `id`s in `connection_ids`. - `POST /api/v1/posts`: publish, draft or schedule Markdown/HTML (or a Google Doc) to 1-20 connections; `GET`/`PATCH /api/v1/posts/:id` to follow or re-publish it. Send an `Idempotency-Key`. - `POST /api/posts`: publish or schedule a Google Doc to one blog / CMS connection. - `POST /api/export`: publish a Google Doc to a WordPress connection (full WordPress options). - `GET /api/posts`: list posts across connections (status, schedule, live URL). - `POST /api/job/status`: poll a publishing job. - Retry safely with `Idempotency-Key`; org keys are limited to 60 requests/min (`RateLimit-*` headers). - Webhooks: `post.published`, `post.updated`, `post.drafted`, `post.scheduled`, `post.failed`, `connection.connected`, `connection.needs_attention`, `connection.disconnected`, signed with HMAC-SHA256. ## Product - [Docswrite home](https://docswrite.com/): the publishing api for ai agents, and a Google Docs publishing tool for content teams. - [Pricing](https://docswrite.com/pricing): Free (5 exports, no card), Start-Up $29/month, Business $49/month, Enterprise $89/month. - [Google Docs to WordPress](https://docswrite.com/product/google-docs-to-wordpress) - [Google Docs to Webflow](https://docswrite.com/product/google-docs-to-webflow) - [Google Docs to Shopify](https://docswrite.com/product/google-docs-to-shopify) - [Google Docs to Ghost](https://docswrite.com/product/google-docs-to-ghost) - [Google Docs to Contentful](https://docswrite.com/product/google-docs-to-contentful) - [Google Docs to Medium](https://docswrite.com/product/google-docs-to-medium) - [Google Docs to Dev.to](https://docswrite.com/product/google-docs-to-devto) - [Google Docs to Hashnode](https://docswrite.com/product/google-docs-to-hashnode) - [Google Docs to GitHub](https://docswrite.com/product/google-docs-to-github) - [Google Docs to X (Twitter)](https://docswrite.com/product/google-docs-to-x) - [Google Docs to LinkedIn](https://docswrite.com/product/google-docs-to-linkedin) - [Google Docs to your blog](https://docswrite.com/product/google-docs-to-blog) - [Programmatic SEO](https://docswrite.com/product/pseo) - [WordPress MCP server](https://docswrite.com/product/wordpress-mcp) - [Docswrite AI](https://docswrite.com/product/content-writer-ai) - [Yoast SEO](https://docswrite.com/product/yoast-seo) - [Rank Math SEO](https://docswrite.com/product/rank-math) - [Advanced Custom Fields](https://docswrite.com/product/acf) - [Newspack](https://docswrite.com/product/newspack) - [Wordable alternative: Docswrite vs Wordable](https://docswrite.com/vs/wordable-alternative) - [CloudPress alternative: Docswrite vs CloudPress](https://docswrite.com/vs/cloudpress-alternative) - [Switch from Wordable to Docswrite](https://docswrite.com/switch/wordable) - [Google Docs to HTML converter (free)](https://docswrite.com/tools/google-docs-to-html) - [Google Docs to Markdown converter (free)](https://docswrite.com/tools/google-docs-to-markdown) - [Google Docs to PDF converter (free)](https://docswrite.com/tools/google-docs-to-pdf) - [Markdown to HTML converter (free)](https://docswrite.com/tools/markdown-to-html) - [Markdown to PDF converter (free)](https://docswrite.com/tools/markdown-to-pdf) - [Word to HTML converter (free)](https://docswrite.com/tools/word-to-html) - [HTML to Markdown converter (free)](https://docswrite.com/tools/html-to-markdown) - [Word to Markdown converter (free)](https://docswrite.com/tools/docx-to-markdown) - [About Docswrite](https://docswrite.com/about-us) - [Contact](https://docswrite.com/contact-us) - [Privacy policy](https://docswrite.com/privacy-policy) - [Terms of service](https://docswrite.com/terms-of-service) ## Markdown for agents Every page on https://docswrite.com has a markdown twin: append `.md` (`https://docswrite.com/pricing.md`, `https://docswrite.com/index.md`) or send `Accept: text/markdown`. `https://docswrite.com/?mode=agent` returns a compact agent view.