Technical documentation: a first request in minutes, then reference

A getting-started guide and reference for an API or tool, on one page with a sidebar and copyable code.

Live example

The example: Getting started with the Sheetfed API

Quickstart, five endpoints, errors, limits

Getting started with the Sheetfed API

Open the exampleThe names and numbers are made up.

What to notice

  • One render id, rnd_7Hq2Lx, runs through the quickstart: the first response returns it and the next two requests use it.
  • The errors table has a "What to do" column, and render failures such as asset_unreachable get a table of their own.
  • Every code block has a Copy button. Where the browser blocks the clipboard, it selects the code so you can copy by hand.

The prompt that starts one like it

Write documentation for [API or tool] as a single HTML page with a sidebar of sections that becomes a menu on a phone. Here's what it does: [paste endpoints, options, a real request and response]. Start with a quickstart that gets to a working result in a few steps, then authentication, a table of endpoints, a table of options, errors with what to do about each, and limits. Give every code block a copy button, and keep ids and values the same across samples. Then publish it on sharable.link.

Good documentation gets a developer to a working request before they've decided whether they like your API. Open the docs for Sheetfed, a made-up service that turns HTML into PDFs, to see that done on a single page with a sidebar. Its structure will fit most small APIs. The requests and responses have to come from yours.

Who it's for

A developer or a small team with an API, a command-line tool or an internal service that other developers have to use: a partner's engineers, next month's new hire. You send the link along with the API key, and again each time someone asks a question the page already answers.

One page suits something with up to a dozen endpoints or commands. Past that, or once you need versions and search, use a docs generator that builds from your source. A published page also doesn't change when the code does. Whoever ships a change to the API replaces the page.

What a good one contains

  • One sentence on what it does, and the base URL. Both sit above Sheetfed's quickstart. Someone is always hunting for that URL.
  • A quickstart that ends in a result. Four steps: set a key, start a render, check on it, download the PDF. Each shows the exact command, and steps two and three show the exact response.
  • Samples that agree with each other. The id in the first response, rnd_7Hq2Lx, is the id in the next two requests. Someone pasting them in order never meets a value from nowhere.
  • A copy button on every block. Retyping a curl command by hand is how the stray quote gets in.
  • Reference as tables. Endpoints get a method, a path and one line each. Options get a type and a default.
  • Errors with what to do next. Eight are listed, from 400 to 500, and each says whether to fix the request, wait or try again.
  • Limits as plain numbers. 60 requests a minute, 2 MB of HTML, PDFs kept for 24 hours. Leave them out and developers meet them in production.
  • A date. "Updated January 19, 2027" tells a reader how far to trust the page.

Keep it true

Run every sample against the real thing before you publish, and paste the real output. A quickstart that fails on step two loses the developer for good. Use a test key in samples, never a live one, because anyone can read an open page.

Write for the reader who lands with one question. Give each section a plain heading, and repeat the authorization header in every request, so any block works when it's copied alone.

How to send it

As an open link. Docs get pasted into tickets and chat threads, so the link should open for anyone. If the API is internal, limit the page to your company's domain instead.

Every page you publish gets one link that opens in any browser. You choose who can open it: anyone with the link, anyone with the password, or only the people and company domains you name, who sign in with Google or Microsoft. Change the page later and the link stays the same.

Make yours in Claude

Add the connector once, then publish from any Claude conversation and get a link to send.

Add Claude Connector

Already have the file? Upload it here.

More in product and engineering

  • KPI dashboard: A few numbers with their changes and the reasons behind them, sent to the same readers on a schedule.
  • Product roadmap: What a product team is building now, next and later, by theme, for customers and colleagues.
  • Data visualization: One dataset drawn as a few interactive charts, each with a sentence that says what to see.
  • Flowchart: A process or user flow drawn as steps, questions and outcomes, for the people who have to follow it.
  • Product requirements document: The problem, the requirements and what's left out for one feature, for the people who will build it.
  • App prototype: A clickable phone app in one page, sent to a few people to try before anyone writes real code.
  • All use cases