API for Developers & AI Agents

Send Markdown.
Get a Google Doc.

Headings, tables, bold, links, lists. One API call turns your Markdown into a formatted, shareable Google Doc. $0.01 per document. 5 free on signup.

curl
Python
Response
# Create a formatted Google Doc from Markdown
curl -X POST https://api.googledocmaker.com/api/v1/docs/create \
  -H "Content-Type: application/json" \
  -H "X-API-Key: gd_live_YOUR_KEY" \
  -d '{
    "title": "Q1 Sales Report",
    "markdown_content": "# Q1 Results\n\n**Revenue**: $2.4M\n\n| Metric | Value |\n|--------|-------|\n| Deals closed | 47 |\n| Win rate | 34% |",
    "sharing": "anyone_with_link"
  }'

What You Send vs What You Get

Plain text goes in. A formatted Google Doc comes out.

Markdown input
# Q1 Report

**Revenue**: $2.4M (+18%)

| Region  | Deals |
|---------|-------|
| West    | 23    |
| East    | 24    |

Next steps:
- Expand to Midwest
- Hire 2 more reps
Google Doc output

Q1 Report

Revenue: $2.4M (+18%)

RegionDeals
West23
East24

Next steps:

• Expand to Midwest

• Hire 2 more reps

Quick Start

1

Register

POST /api/v1/auth/register with your email. You'll get a 6-digit verification code.

2

Verify & Get API Key

POST /api/v1/auth/verify with the code, then POST /api/v1/auth/api-key. You get 5 free credits.

3

Connect Google

Visit GET /api/v1/google/connect with your API key. Sign into Google and authorize. One-time setup.

4

Create Docs

POST /api/v1/docs/create with a title and Markdown content. Get back a Google Doc URL. Optionally set sharing to make it public.

How It Works

Full Formatting

Headings (H1-H6), bold, italic, links, bullet lists, numbered lists, tables, code blocks, horizontal rules. All rendered as native Google Docs formatting.

Shareable by Default

Set sharing: "anyone_with_link" and the doc is instantly shareable. No manual permission changes needed.

Template Support

Pass a template_id to clone an existing Google Doc (with your logo, fonts, headers) before inserting content. Every doc looks on-brand.

Append to Existing

Use /docs/append to add content to an existing Google Doc. Build documents incrementally, one section at a time.

Pricing

Simple. No tiers. No subscriptions. Buy credits, use them whenever.

$1
100 docs

$0.01 each

$10
1,000 docs

$0.01 each

$100
10,000 docs

$0.01 each

5 free documents on signup. Failed creations are automatically refunded. One credit = one document created or appended to.

API Endpoints

Documents

MethodEndpointCostDescription
POST/api/v1/docs/create1 creditCreate a Google Doc from Markdown
POST/api/v1/docs/append1 creditAppend Markdown to an existing doc

Google Account

MethodEndpointCostDescription
GET/api/v1/google/connectFreeConnect your Google account (OAuth redirect)
GET/api/v1/google/callbackFreeOAuth callback (handled automatically)
GET/api/v1/google/statusFreeCheck if Google is connected

Authentication

MethodEndpointCostDescription
POST/api/v1/auth/registerFreeCreate account
POST/api/v1/auth/verifyFreeVerify email
POST/api/v1/auth/api-keyFreeGenerate API key

Account & Credits

MethodEndpointCostDescription
GET/api/v1/accountFreeView balance and usage
GET/api/v1/credits/packsFreeList credit packs
POST/api/v1/credits/purchaseFreeBuy credits via Stripe

Full API reference: llms-full.txt · OpenAPI spec

Built For

AI Agents

Agents generate Markdown reports, proposals, and summaries. This API turns that output into polished Google Docs without human formatting.

Internal Tools

CRM generates a deal review? Pipeline tool writes a weekly summary? One API call turns it into a formatted doc in the team's shared Drive.

Content Pipelines

Blog posts, SOPs, onboarding docs. Write in Markdown, publish to Google Docs. Template support keeps everything on-brand.

Claude Code / CLI Workflows

Running a CLI agent that produces reports? Pipe the output through this API. The doc appears in Google Drive, ready to share.

For AI Agents

This site is designed for machine consumption. AI agents can discover and integrate with this API using these files: