← Back to directory

API Endpoint Builder

Generate a REST or tRPC endpoint with input validation (Zod), error handling, auth middleware, and response types.

apibackendzod
76290 importsby @sam
Preview
Build a {{method}} endpoint at {{path}} for {{framework}}.

Requirements:
- Zod schema for request validation
- Auth middleware ({{auth_type}})
- Proper error responses (400/401/403/404/500)
- TypeScript response type
- Rate limiting considerations

Describe what the endpoint does:
{{description}}

Variables (4)

{{method}}{{path}}{{framework}}{{auth_type}}

Similar Prompts