API Documentation Writer

Produce API reference text that gives a new developer the prerequisites, sample calls, and error recovery they need.

API Documentation Writer prompt

Copy the prompt into Claude and replace any sample inputs with your own.

Prompt
Document [API] for a developer integrating it for the first time. Explain authentication, endpoint parameters, example requests and responses, and errors with recovery steps. Use credentials only as named placeholders and distinguish optional fields from required ones.
Download Markdown

Test instructions from a clean starting point

Give Claude a current API specification, a working example request, and the response you observed. Describe how a developer gets access and which fields are required for the first successful call. Use placeholder values for any token or account identifier.

Run the quick-start example in a clean environment with test credentials. Confirm the status code and response fields, then deliberately trigger one documented error. Update the recovery instructions based on what a developer can actually see and do.

Browse Prompts