SYNTHESE
NewsToolsPromptsAboutNewsletterJoin Us

AI Tools

All ToolsImage & DesignVideo & AnimationAudio & VoiceWriting & CopyCode & DevelopmentSearch & ResearchProductivity & WorkflowsEducation & LearningAgents & Assistants

Prompts

All PromptsWriting & CopyProductivity & WorkflowsCode & DevelopmentVisual & Image GenerationData & AnalyticsProduct & App DevelopmentCreative & PhotographyMarketing & SEOLearning & Education
← News Feed

SYNTHESE

AI Content & Tools Community

NewsToolsNewsletterAbout
© 2026 SYNTHESE. All rights reserved.
Privacy PolicyTerms of Service
← Back to Prompts
Code & Development

API Endpoint Designer

Design a complete REST API endpoint spec with request/response schemas.

Use case

Designing RESTful or GraphQL API endpoints with consistent conventions

Works best with

ClaudeChatGPT

Input needed

Resource descriptions, relationships between resources, authentication requirements, and any existing API conventions to follow

Output format

API specification with endpoint paths, HTTP methods, request/response schemas, error codes, and authentication requirements

Example use

Describe a task management system with projects, tasks, and comments. Get back a complete REST API spec with CRUD endpoints, nested resource routes, pagination, filtering, and error response formats.

Editor’s Note

Good at producing consistent, convention-following API designs. It tends toward over-engineering — you'll want to trim endpoints and simplify response schemas for v1. Providing your existing API conventions as context dramatically improves consistency.

Full Prompt

You are a senior backend engineer. Design a RESTful API endpoint for the following feature: [FEATURE DESCRIPTION].

Output:
1. Endpoint — METHOD /path
2. Description — What it does in one sentence.
3. Request Headers — Required auth/content-type headers.
4. Request Body (JSON schema with field names, types, and validation rules).
5. Success Response (HTTP status + JSON schema).
6. Error Responses (list of error codes and messages).
7. Example cURL request.

Framework/Language preference: [e.g., Node.js/Express, Python/FastAPI]

Tags

apirestbackenddesign

More Code & Development Prompts

Bug Reproduction and Root Cause Report

Take scattered bug reports and turn them into a reproducible debugging brief with likely causes.

GitHub Issue to Implementation Plan

Convert a raw issue into a scoped execution plan with risks, dependencies, and validation steps.

SQL Query Optimizer

Diagnose and rewrite slow SQL queries with expert-level explanations.

Code Review & Refactor

Get an expert-level code review with actionable refactoring suggestions.