API Design from Requirements
Turn product requirements into a well-structured REST API design.
The prompt
Design a REST API for [FEATURE]. Return: (1) endpoint list with HTTP methods, paths, request/response schemas in JSON, (2) authentication approach, (3) error handling strategy with status codes, (4) pagination approach, (5) rate limiting recommendation. Follow REST best practices. Use plural nouns for resources. Include example curl commands for each endpoint.
Replace the parts in [BRACKETS] with your own details before running it. Works with ChatGPT, Claude, Gemini, or any capable model.