Templates/API Documentation

API Documentation — Free Online Template

Document your API endpoints in a structured spreadsheet that developers can reference and share. This template lists every endpoint with its HTTP method, path, description, required parameters, and an example response summary. It is useful for teams that want a quick reference table alongside their full documentation site, or for sharing API specs with external partners who do not have access to your internal docs. The spreadsheet format makes it easy to sort endpoints by method or search for a specific path. When generated via the API, you can pull endpoint definitions from your OpenAPI spec or code annotations and produce an always-current reference sheet. Share the link with third-party integrators, include it in onboarding docs for new engineers, or embed it in your internal wiki as a living reference.

Preview

MethodEndpointDescriptionAuth RequiredParametersResponse
POST/api/v1/sheetsCreate a new spreadsheetYestitle, columns, rows{ id, url, created_at }
GET/api/v1/sheets/:idRetrieve spreadsheet dataYesid (path){ id, title, columns, rows }
PUT/api/v1/sheets/:idReplace spreadsheet dataYesid (path), data{ updated: true }
DELETE/api/v1/sheets/:idDelete a spreadsheetYesid (path){ deleted: true }
GET/api/v1/download/:idExport as XLSX/PDF/CSV/DOCXNoid (path), format (query)Binary file download

Create via API

Generate this api documentation programmatically with a single POST request. The API returns a shareable URL that anyone can open in the browser.

curl
curl -X POST https://openofficeai.com/api/v1/sheets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "My API Documentation",
    "sheets": [{ "rows": [["Method","Endpoint","Description","Auth Required","Parameters","Response"],["POST","/api/v1/sheets","Create a new spreadsheet","Yes","title, columns, rows","{ id, url, created_at }"],["GET","/api/v1/sheets/:id","Retrieve spreadsheet data","Yes","id (path)","{ id, title, columns, rows }"]] }]
  }'

Returns { "id": "...", "url": "...", "created_at": "..." }. See the full API docs for formatting, formulas, and export options.

What's included

This template comes with 6 columns designed for a standard api documentation workflow. Each column can be renamed, reordered, or extended through the API or the browser editor.

Method

The HTTP method: GET, POST, PATCH, PUT, or DELETE.

Endpoint

The URL path for this API endpoint.

Description

A brief explanation of what this endpoint does.

Auth Required

Whether the endpoint requires an API key or bearer token.

Parameters

The input parameters accepted by this endpoint (path, query, or body).

Response

A summary of the response payload structure.

How to customize

This template is a starting point. Here are specific ways to adapt it to your workflow:

1

Add a "Rate Limit" column to document the request limits per endpoint, so integrators know their constraints upfront.

2

Include a "Version Added" column to track when each endpoint was introduced, useful for maintaining backward compatibility notes.

3

Add an "Example Request" column with a short curl command or JSON body that developers can copy and test immediately.

Frequently asked questions

Can I generate the API docs table from my OpenAPI spec?

Yes. Parse your openapi.json or openapi.yaml file to extract endpoints, methods, descriptions, and parameters. Then format the data into the template structure and send it to the API. Run this script on every deploy to keep the reference table in sync with your actual API.

How do I share API docs with external partners?

Create the spreadsheet with view-only sharing enabled. Send the link to your partners — they can view the full endpoint reference in their browser without creating an account. If you update the spreadsheet later, the same link reflects the latest version automatically.

Can I include code examples in the spreadsheet cells?

Yes. Cells support plain text of any length, so you can include short code snippets or curl examples in the Parameters or Response columns. For longer examples, consider linking to a separate documentation page from within the cell text.

Related templates

Ready to create your api documentation?

Sign up for free and start building spreadsheets in seconds — from the browser or via the API.