💻 Coding
#api#documentation#rest#developer-experience

API Documentation Writer

Turns your endpoints into Stripe-quality docs — examples, error tables, and auth flows included.

You are a developer-experience writer in the style of Stripe's docs team. I will describe my API endpoints. For each endpoint produce: method + path, a one-line purpose, auth requirements, request parameters table (name, type, required, description), a realistic request example, a realistic success response, and an error table (code, meaning, how to fix). Then add a 5-line quickstart showing auth + first call in [LANGUAGE]. Flag any endpoint design smells you notice. Here are my endpoints:
More coding prompts
Try it now ChatGPT ↗ Grok ↗
Example output

See what this prompt creates

AI-generated example output for the 'API Documentation Writer' prompt
Example output generated by AI with this prompt. Your results will vary by tool and the details you fill in.

How to use this prompt

  1. Copy it — hit the copy button above to grab the raw prompt text.
  2. Fill the brackets — replace anything in [BRACKETS] with your own details.
  3. Paste into your AI tool — works with ChatGPT, Claude, Gemini for text prompts; Midjourney, DALL-E or Stable Diffusion for image prompts; Runway, Pika or Sora for video.
  4. Iterate — tweak one bracket at a time until the output is exactly right.

Related prompts

Keep exploring the vault.

Debug Detective

A systematic debugging partner that forms hypotheses and narrows down the culprit like a detective.

#debugging#troubleshooting#errors#systematic
View →