Free Markdown template
API Parameter Documentation Template
Document an API endpoint with the information developers need before they make their first request: authentication, parameters, responses, and errors.
No account required. The template stays in this browser until you copy or edit it.
Preview
Start with a practical structure
# API Reference
> Use this template to document one API endpoint clearly before adding additional endpoints.
## Create a project
Create a new project in the current workspace.
```http
POST /v1/projects
```
### Authentication
Send a bearer token with every request.
```http
Authorization: Bearer YOUR_API_TOKEN
```
### Request body
| Parameter | Type | Required | Description |
| :--- | :--- | :---: | :--- |
| `name` | `string` | Yes | A human-readable project name. |
| `description` | `string` | No | A short explanation of the project purpose. |
| `visibility` | `string` | No | Access level: `private` or `public`. Defaults to `private`. |
| `template_id` | `string` | No | Optional starter template to apply when creating the project. |
```json
{
"name": "Documentation site",
"description": "Markdown docs for the public API",
"visibility": "private"
}
```
### Response
Returns the new project and its identifier.
```json
{
"id": "proj_123abc",
"name": "Documentation site",
"description": "Markdown docs for the public API",
"visibility": "private",
"created_at": "2026-08-15T00:00:00Z"
}
```
### Response fields
| Field | Type | Description |
| :--- | :--- | :--- |
| `id` | `string` | Unique identifier for the project. |
| `name` | `string` | The supplied project name. |
| `description` | `string` | The supplied project description, when present. |
| `visibility` | `string` | The project's access level. |
| `created_at` | `string` | ISO 8601 timestamp for project creation. |
### Errors
| Status | Meaning | What to do |
| :---: | :--- | :--- |
| `400` | The request body is invalid. | Check required fields and data types. |
| `401` | The access token is missing or invalid. | Send a valid bearer token. |
| `409` | A project with the same name already exists. | Choose a different name or update the existing project. |
| `429` | Too many requests. | Retry after the response's retry interval. |
What this template includes
- Endpoint and authentication overview
- Parameter and response field tables
- Error and example request sections
How to use this template
- Open the template in the editor.
- Replace the sample endpoint and fields.
- Check that required fields, types, and errors are explicit.
Make the template your own
Use the section order as a starting point, then remove anything that does not help your reader take the next step. Good Markdown is specific, scannable, and easy to maintain.
More free Markdown templates
Ready to customize this template?
Open it in the free editor to adapt the structure, preview the result, and keep your work on your device. Before publishing, you can also review safe formatting fixes locally.