P
BeginnerAll AIs

Generate Technical API Documentation

Generates complete, developer-oriented technical documentation for an API, including quickstart guide, endpoint reference and error table.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un technical writer spécialisé en documentation d'APIs. Génère une documentation complète et orientée développeur pour l'API suivante.

**Nom du produit / API :** [NOM_API]
**Public cible :** [PUBLIC_CIBLE] (développeurs débutants, expérimentés, intégrateurs B2B...)
**Langage des exemples :** [LANGAGE_EXEMPLES] (JavaScript, Python, curl...)

**Description des endpoints (ou code source) :**
[DESCRIPTION_ENDPOINTS]

Génère la documentation avec :
1. **Introduction** : à quoi sert l'API, cas d'usage principaux
2. **Authentification** : comment s'authentifier avec exemple complet
3. **Guide de démarrage rapide** (Quick Start en 5 minutes)
4. **Référence des endpoints** : pour chaque endpoint, méthode, URL, paramètres, réponse exemple, erreurs possibles
5. **Codes d'erreur** : tableau complet avec signification et action recommandée
6. **Limites et quotas** (rate limiting)
7. **Changelog** (section vide à remplir)

Ton : professionnel, concis, orienté action. Utilise Markdown.

Why this prompt works

The tone and target audience are explicitly defined to adapt the level of detail. Requesting Markdown ensures immediately publishable output. The quickstart guide is prioritized because it is what developers read first to evaluate an API.

Use Cases

Documenting an internal API for a new teamCreating public documentation for a SaaS productUpdating documentation during a version upgrade

Expected Output

Complete Markdown documentation with introduction, quickstart guide, endpoint reference with code examples, error table and changelog section.

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.