# API documentation

Project: ____________ | Prepared by: ____________ | Date: ____________ | Version: ____

## 1. Overview

- **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):** 

## 2. Quick start

_The shortest path to one successful call, with a copy-and-paste example._

- **How to get credentials:** 
- **Example request:** 
- **Example response:** 

## 3. Authentication

- **Method (API key, OAuth 2.0, signed requests):** 
- **Where the credential goes in the request:** 
- **Token lifetime and refresh:** 
- **Permissions or scopes:** 

## 4. Endpoint reference


| Method | Path | Purpose | Required fields | Returns |
| --- | --- | --- | --- | --- |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |
|  |  |  |  |  |

## 5. Errors


| 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 |  |

## 6. Limits and behaviour

- **Rate limits and how they are reported:** 
- **Pagination:** 
- **Idempotency for retries:** 
- **Time zones and date formats:** 

## 7. Webhooks


| Event | When it is sent | Payload | How to verify it |
| --- | --- | --- | --- |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |
|  |  |  |  |

## 8. Versioning 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). Use it, change it and share it as you like._
