API Documentation Writer

Developer-ready API docs with examples in multiple languages.

38 words · free to use
Write API documentation for:
Endpoint: [METHOD] [URL]
Function: [WHAT IT DOES]
Auth: [AUTH METHOD]
Params: [LIST]
Response: [DESCRIBE]

Format with overview, auth section, JSON request/response examples, error codes table, rate limiting notes, code examples in JavaScript and Python.
APIdocumentationtechnical writingdeveloper

How to use this prompt

  1. Copy the prompt with the button above.
  2. Replace the parts in brackets with your own details: [METHOD], [URL], [WHAT IT DOES], [AUTH METHOD], [LIST], [DESCRIBE].
  3. Paste it into ChatGPT and send it. It also works in other AI chat tools.
  4. Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.

Related code & tech prompts

See all 183 Code & Tech prompts →

Get 10 new prompts every week

Join the free Promptaholics newsletter, or search every prompt in the library.

We use cookies for analytics and ads. See our Privacy Policy.