Template
API documentation
01Overview
- What the API lets developers do
- Who it is for (partners, customers, internal teams)
- Base URLs for test and live environments
- Data format (JSON or other)
02Quick start
The shortest path to one successful call, with a copy-and-paste example.
- How to get credentials
- Example request
- Example response
03Authentication
- Method (API key, OAuth 2.0, signed requests)
- Where the credential goes in the request
- Token lifetime and refresh
- Permissions or scopes
04Endpoint reference
| Method | Path | Purpose | Required fields | Returns |
|---|---|---|---|---|
05Errors
| HTTP status | Error code | Meaning | What to do |
|---|---|---|---|
| 400 | Request is invalid | ||
| 401 | Missing or bad credentials | ||
| 403 | Not allowed for this account | ||
| 404 | Resource not found | ||
| 409 | Conflict with current state | ||
| 429 | Rate limit reached | ||
| 500 | Server error |
06Limits and behaviour
- Rate limits and how they are reported
- Pagination
- Idempotency for retries
- Time zones and date formats
07Webhooks
| Event | When it is sent | Payload | How to verify it |
|---|---|---|---|
08Versioning and changes
- How versions are named
- How long old versions are supported
- Where changes are announced
- Support contact
Free template from Stegnor · stegnor.com/templates