Back to Library

API Documentation Generator

Engineering & ProductCopilot Chat●●●AdvancedAPIdocumentationdeveloperRESTtechnical writing

Prompt

Generate comprehensive API documentation for [API NAME] at [COMPANY NAME].

API details:
- API type: [REST / GraphQL / gRPC / SOAP]
- Base URL: [URL]
- Authentication method: [API KEY / OAuth / JWT / BASIC]
- Primary use cases: [WHAT DEVELOPERS DO WITH THIS API]
- Target developer audience: [INTERNAL / EXTERNAL / PARTNER]
- Existing endpoints to document: [LIST ENDPOINTS OR PASTE SPEC]

Create complete API documentation:

1. **Introduction** — What this API does, who it's for, and what they can build.

2. **Authentication** — Step-by-step guide to getting and using credentials. Include code examples.

3. **Quick Start** — Working example from zero to first successful API call in under 10 minutes.

4. **Endpoint Reference** — For each endpoint:
   - Method and path
   - Description
   - Request parameters (path, query, body) with types, required/optional, descriptions
   - Request example (curl and at least one SDK)
   - Response schema with types
   - Response example (success and common errors)
   - Rate limits and pagination if applicable

5. **Error Reference** — All error codes with descriptions and resolution steps.

6. **Code Examples** — Working samples in [LANGUAGES: PYTHON / JS / JAVA / GO].

7. **Changelog** — Format for documenting API changes.

8. **Support and Feedback** — How to get help and report issues.
Generate sample demo data

Generic sample context ready for adaptation.

Where this prompt shows up

SkillThe Engineering Co-Pilot

Related Prompts

Content & Writing

Technical Documentation Writer

Write clear technical documentation for [PRODUCT / FEATURE / API] targeting [AUDIENCE: DEVELOPERS / END USERS / ADMINS]. Documentation details: - What needs to...
Word●●●AdvancedSkill-readyWorkflow-ready
Engineering & Product

Technical Architecture Decision Record

Write an Architecture Decision Record (ADR) for the following technical decision at [COMPANY NAME]. Decision context: - Decision title: [SHORT DESCRIPTIVE TITL...
Copilot Chat●●●AdvancedSkill-readyWorkflow-ready
Engineering & Product

Technical Documentation Search

Find runbooks, SOPs, or technical documentation in SharePoint related to [system/process]. List: - Document titles and locations - Last update dates (if visible...
Copilot ChatBeginnerSkill-ready
Engineering & Product

Product Requirements Document (PRD) Generator

Write a comprehensive Product Requirements Document (PRD) for [FEATURE OR PRODUCT NAME] at [COMPANY NAME]. Context: - Problem being solved: [DESCRIPTION] - Tar...
Copilot Chat●●●AdvancedWorkflow-ready
Back to Library