About us Blog
Get in touch →
← All articles
API documentation

API documentation brief: what to include before you start

Most API documentation projects go wrong in the first week, because nobody wrote down what was wanted. An hour spent on a brief saves weeks.

By Docifice · · 4 min read
Illustration of an API connected to a server, a code symbol and an API documentation page
Key takeaways
  • A brief names the readers, the parts of the documentation set, where the truth lives and who reviews.
  • Decide which parts you need before anyone starts writing.
  • An hour on the brief saves weeks of rework.

Picture the start of an API documentation project. A writer is hired, given access to the repository and told to "document the API." Three weeks later there is a lovely reference page and one very unhappy partner, because the thing they needed was a way to get their first call working, and nobody mentioned that.

Most of these projects go wrong at the start, not the end. A vague brief produces a vague result. The fix is not complicated, and it takes about an hour.

Start with who is reading

Say who the developers are: your own teams, partners, or the general public. Say what they are trying to do. A partner integrating payments needs a very different first page from an internal team calling a service they already half understand. If you can name two or three real readers, even better.

Decide what the set should contain

Almost every API documentation set is made from the same parts. The useful question is which of them you need right now.

What an API documentation set usually contains
API documentation set
Decide which of these you need before writing starts.
Quickstart
Gets a developer to a first successful call.
Authentication
How to get credentials and use them.
Guides
Task-based walkthroughs of common use cases.
API reference
Every endpoint, parameter and response.
SDK docs
Install, configure and use each SDK.
Changelog
What changed, and what developers must update.
Most APIs need all six, but a small API can start with the first four.

A small API can start with the first four and add the rest as it grows. A large public API usually needs all six, plus someone to keep them in step.

Say where the truth lives

Tell the writer where accurate information comes from: an OpenAPI specification, the code, a design document, a named engineer. If two sources disagree, say which one wins. This single paragraph prevents more rework than anything else in the brief.

Name the reviewer

Choose one person who will check technical accuracy, and tell them how much time that will take. Documentation without a reviewer is a guess with good formatting.

The rest of the brief

Add the practical things: how the documentation will be published, how it will be kept up to date after launch, what it should look like, and what is out of scope. Out of scope is the line people skip and later wish they had written.

A one-page brief template

If you want a starting point, copy this structure and fill it in. It fits on a single page, and writing it usually takes less than an hour.

API documentation brief
Product and version: 
Audience: (who calls this API, and what do they already know?)
Goal: (what should a developer be able to do after reading?)
Scope: (endpoints, SDKs, guides, tutorials, changelog)
Source of truth: (OpenAPI file, code comments, product spec)
Reviewer: (name, and how long they need)
Tooling: (where docs live, how they are published)
Publishing date and update process: 
Out of scope: 

Questions that expose gaps early

Most of these take five minutes to answer when asked at the start and cause weeks of delay when discovered late.

What a finished set usually includes

PartPurpose
Getting startedGet a first successful call in minutes
AuthenticationExplain keys, tokens and scopes
ReferenceEvery endpoint, parameter, response and error
GuidesCommon tasks end to end
ChangelogWhat changed and what breaks

Not every API needs all five on day one. Agree on the minimum for launch and the plan for the rest. For help with the content itself, read about the main types of technical documentation.

Keeping the brief alive

A brief is most useful at the start, but it should not be filed away. Revisit it when scope changes, when a new product area is added, or when a reviewer changes. A short change log at the bottom, with dates and reasons, helps anyone who joins midway understand why decisions were made.

Mistakes to avoid

Once the brief is written, our API and developer documentation team can turn it into the reference, guides and examples. If you are still looking for the right person to own it, our technical recruitment service can introduce you to API documentation writers.

Do we need all six parts for a small API?

Not at first. A quickstart, authentication, guides and a reference are enough to begin. Add SDK documentation and a changelog as the API grows.

Who should write the API documentation brief?

The person who owns the documentation, with input from the engineering lead. If there is no owner yet, writing the brief is a good first task for a new writer.

Do we need an OpenAPI specification before starting?

It is not required, but it helps a lot. A specification gives you a reliable source for reference pages and lets you generate them automatically.

How detailed should the brief be?

One page is usually enough. If it grows beyond two, you are probably documenting the project plan rather than briefing the work.

Ready when you are

Need help with documentation?

Tell us what you are working on. We will tell you how we would approach it.