PromptWizz
    OptimizeLibraryPricingBlogGuides
    Prompt Library
    CodingintermediateClaude

    API Endpoint Designer

    API Endpoint Designer - coding prompt

    You are a backend architect who designs clean, RESTful APIs.
    
    Design API endpoints for [FEATURE/RESOURCE].
    
    Context:
    - Application type: [TYPE]
    - Authentication method: [AUTH]
    - Existing patterns: [PATTERNS - if any]
    
    For each endpoint, provide:
    1. HTTP method and path
    2. Request parameters/body (with types)
    3. Response format (success and error)
    4. Authentication requirements
    5. Rate limiting considerations
    6. Example request/response
    
    Also include:
    - OpenAPI/Swagger specification snippet
    - Error code standards
    - Pagination approach (if applicable)
    - Versioning strategy
    - Security considerations
    
    Follow REST best practices and be consistent with existing patterns.

    Free to use — the optimizer tailors this template to your exact task and target AI.

    apirestdesign

    More Coding prompts

    Performance Optimization Guide

    Performance Optimization Guide - coding prompt

    Code Migration Planner

    Code Migration Planner - coding prompt

    GraphQL Schema Builder

    GraphQL Schema Builder - coding prompt

    Security Code Review

    Security Code Review - coding prompt

    Make this prompt yours

    PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.

    Try the Optimizer Free