A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the API Endpoint Designer page

Tools / Build suite

API Endpoint Designer

Name a resource and get a REST endpoint plan - routes, methods, status codes, example payloads - plus an OpenAPI 3 YAML export.

Describe a resource - its fields and their types - and get a full REST surface: collection and item routes, status codes, validation errors, example JSON, and an OpenAPI 3 YAML export ready for docs tooling.

Open the tool
Screenshot of the API Endpoint Designer tool

What it does

The whole resource, not one route.

Full CRUD surface

List with pagination, create, read, update, delete - with the right status codes for each.

Typed fields

string, number, integer, boolean, date, enum - they drive the example payloads and schema.

OpenAPI 3 export

The YAML is standard OpenAPI 3, so any tool that reads OpenAPI can open it.

Conventions stated

Plural routes, cursor paging and the 422 validation status are shown on the page, so a team can argue with them.

Paged lists

The list route takes a limit (default 50) and a cursor, so large collections are read a page at a time.

Field-level errors

Create and update return 422 when a field fails validation, and the plan says so on each route.

Required fields

Fields marked required are listed in the schema's required array. Everything else stays optional.

Dates and enums

A date field becomes a string with date format. An enum field gets placeholder values for you to replace.

Plain-name plurals

Invoice becomes invoices, category becomes categories and box becomes boxes. The route uses that plural.

Line-by-line warnings

Unknown types, duplicate names and malformed lines are reported by line number, and the rest still builds.

How it works

Resource in, API out.

Step 1

Name the resource and its fields with types.

Step 2

Review the route plan and example payloads.

Step 3

Copy the OpenAPI YAML.

FAQ

Auth?

The export declares a bearer token scheme; implement it in your server.

Nested resources?

Design each resource separately, then reference them.

Is it only for REST?

Yes. The plan lists REST routes with methods and status codes.

What if I mistype a type?

The line is kept as a string and a warning names the line and lists the types it knows.

Does it write server code?

No. It produces the route plan, an example payload and an OpenAPI 3 YAML file. You wire the handlers.

Is authentication included?

The YAML declares bearer authentication for every route. The plan does not issue or check tokens.

Are my fields uploaded?

No. Everything is computed in your browser tab as you type.

Open API Endpoint Designer

Worked example

Real output, from the tool itself.

This is what API Endpoint Designer returned for its built-in example input, captured from the tool - not a mockup.

You enter

Resource name (singular)

invoice

Fields (name | type | required)

number | string | required
customer_email | string | required
amount_cents | number | required
currency | string | required
due_date | date
paid | boolean

The tool returns

GET
/invoices
200 - List, paginated with limit + cursor
POST
/invoices
201 / 422 - Create; 422 returns field-level errors
GET
/invoices/{id}
200 / 404 - Read one
PATCH
/invoices/{id}
200 / 422 - Partial update
DELETE
/invoices/{id}
204 - Delete
Example invoice
Try it with your own input

More in the Build suite

Font Pairing LabWebhook TesterPricing Page BuilderLanding Page MakerStatus Page Starter
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the API Endpoint Designer page

Try it now.

API Endpoint Designer runs in your browser. No account needed.

Authored Tiles

What is on the page

Resource name, singularFields, one per line: name| type | requiredThe endpoint plan with anexample payloadCopy OpenAPI YAML
Resource name, singularFields, one per line: name | type |requiredThe endpoint plan with an examplepayloadCopy OpenAPI YAML
A resource name and field lines on the left, the plan on the right.

Pipeline

How the plan is built

Clean the resourcename and make itpluralRead one field perlineList five routeswith their statuscodesWrite an examplepayload and theOpenAPI text
Clean the resource name and makeit pluralRead one field per lineList five routes with their statuscodesWrite an example payload and theOpenAPI text
It updates as you type.

Before After

The five routes

RouteStatus and jobGET /invoicesPOST /invoicesGET /invoices/{id}PATCH /invoices/{id}DELETE /invoices/{id}200: list, paged with limitand cursor201 or 422: create200 or 404: read one200 or 422: partial update204: delete
Route to Status and jobGET /invoices200: list, paged with limit andcursorPOST /invoices201 or 422: createGET /invoices/{id}200 or 404: read onePATCH /invoices/{id}200 or 422: partial updateDELETE /invoices/{id}204: delete
The same five for every resource, shown for invoice.

Before After

Status codes

CodeMeaning200201204404422Read, list or update workedCreatedDeleted, nothing returnedNot foundValidation failed, withfield errors
Code to Meaning200Read, list or update worked201Created204Deleted, nothing returned404Not found422Validation failed, with field errors
Five codes appear in the plan.

Support Matrix

What each route takes and can fail with

Id in the pathBody sent404 answer422 answerListCreateRead oneUpdateDelete
Listnone of theseCreateBody sent422 answerRead oneId in the path404 answerUpdateId in the pathBody sent422 answerDeleteId in the path
A large white dot marks a feature of the route in the YAML; a small dim dot marks absence.

Bar Compare

YAML length by field count

0 fields60 lines3 fields66 lines6 fields72 lines12 fields84 lines
0 fields60 lines3 fields66 lines6 fields72 lines12 fields84 lines
Lines in the copied YAML, with all fields required.

Before After

Making the name plural

NameRouteboxcategorydayaddressbusinvoice/boxes/categories/days/addresses/buses/invoices
Name to Routebox/boxescategory/categoriesday/daysaddress/addressesbus/busesinvoice/invoices
Applied to the cleaned name.

Before After

Cleaning the name

You typeRouteBlog PostOrder_Item!InvoiceAn empty box/blog-posts/order-items/invoices/resources
You type to RouteBlog Post/blog-postsOrder_Item!/order-itemsInvoice/invoicesAn empty box/resources
Lower case, other characters become hyphens.

Before After

Type words you can use

You writeYAML typeint, integerfloat, decimal, numberbool, booleantext, stringdateenumintegernumberbooleanstringstring with format datestring with placeholdervalues
You write to YAML typeint, integerintegerfloat, decimal, numbernumberbool, booleanbooleantext, stringstringdatestring with format dateenumstring with placeholder values
Aliases fold to five types.

Before After

Example values

TypeExamplestringnumberbooleandateenum"..."12000false"2026-12-01""value_1"
Type to Examplestring"..."number12000booleanfalsedate"2026-12-01"enum"value_1"
One per type in the payload.

Before After

Required or not

LineField isnumber | string | requiredamount_cents | number | reqdue_date | datepaid | booleanRequiredRequired, since it startswith reqOptionalOptional
Line to Field isnumber | string | requiredRequiredamount_cents | number | reqRequired, since it starts with reqdue_date | dateOptionalpaid | booleanOptional
The third part of a line.

Before After

Lines it warns about

You writePlan doesA line with no typeAn unknown type such as watThe same name twiceAn enum with no valuesSkippedUsed as stringThe second is skippedOutput as string withplaceholders to edit
You write to Plan doesA line with no typeSkippedAn unknown type such as watUsed as stringThe same name twiceThe second is skippedAn enum with no valuesOutput as string with placeholdersto edit
The warning names the line.

Before After

Paging on the list route

ParameterTypelimitcursorInteger, default 50String
Parameter to TypelimitInteger, default 50cursorString
Two query parameters.

Input To Output

Name and fields in, plan out

Resource nameField linesFive routesExamplepayloadOpenAPI YAMLEndpoint planInOut
InResource nameField linesEndpoint planFive routesExample payloadOpenAPI YAMLOut
Nothing is uploaded.

Pipeline

Copy OpenAPI YAML

Press Copy OpenAPIYAMLThe text startswith openapi 3.0.3Paths, then aschema for yourfieldsA bearer token isset as security
Press Copy OpenAPI YAMLThe text starts with openapi 3.0.3Paths, then a schema for yourfieldsA bearer token is set as security
One click.

Before After

Parts of the YAML

BlockHoldsopenapi and infopathscomponents schemassecurityVersion 3.0.3, title is yourname and API, version 0.1.0Both paths with theirresponsesAn object with an id andyour fieldsBearer token on every route
Block to Holdsopenapi and infoVersion 3.0.3, title is your nameand API, version 0.1.0pathsBoth paths with their responsescomponents schemasAn object with an id and your fieldssecurityBearer token on every route
Four blocks.

Before After

Field names in the YAML

FieldKeydue_datea bOrder-Iddue_date"a b""Order-Id"
Field to Keydue_datedue_datea b"a b"Order-Id"Order-Id"
Odd names are quoted.

Before After

The sample, field by field

FieldResultnumber | stringcustomer_email | stringamount_cents | numbercurrency | stringdue_date | datepaid | booleanRequiredRequiredRequiredRequiredOptionalOptional
Field to Resultnumber | stringRequiredcustomer_email | stringRequiredamount_cents | numberRequiredcurrency | stringRequireddue_date | dateOptionalpaid | booleanOptional
Six fields, four required.

Authored Tiles

Good to know

Nothing is uploadedThe same five routes forevery resourceEvery schema gets an id oftype stringYou edit the YAML aftercopying
Nothing is uploadedThe same five routes for everyresourceEvery schema gets an id of type stringYou edit the YAML after copying
Plain facts.