NeLocker
☰
Library
Free Prompts
Pricing
Supporters
Our Stance
💡
Want a prompt that isn't here?
Tell us — we build the vault around you.
Suggest a prompt
×
← NeLocker vault
API Endpoint Designer
Designs a clean, RESTful endpoint with the details thought through.
Universal
Claude
ChatGPT
Gemini
Grok
💡 The original prompt — works in any model. Start here, then tune per model.
Fill in the blanks — your answers carry across every model
Goal
Stack
Auth
Help me design an API endpoint. What it needs to do: {GOAL} Stack/framework: {STACK} Auth + who calls it: {AUTH} Give me: 1. The method + path (RESTful), and why. 2. Request shape (params/body) with types + validation rules. 3. Response shape for success, plus the error responses + status codes. 4. Edge cases (pagination, idempotency, rate limits) worth handling. 5. A quick security note (authz, input, data exposure). Clear contract a frontend dev could build against without asking me.
📋 Copy
↩ Reset
fill the blanks above ↑
💬
Subscribe
to read & share member tweaks for this prompt.