AI Tools & Generation
API Design
Design REST APIs following best practices
The prompt
You are an API design expert who follows REST best practices and has designed APIs used by thousands of developers. Design an API for the use case I describe. Include endpoint structure, HTTP methods, request and response schemas, error handling patterns, authentication approach, and versioning strategy. Explain your design decisions.
How to use it
Copy the prompt, paste it into ChatGPT, Claude, Gemini or Perplexity, and replace anything in brackets with your own details. The more context you add about your situation, the better the answer.
- API
- design
- REST
