People working together around a table with laptops, notebooks and drinks, banner image on the Add an API to your product page

Playbook - Build suite - One day

Add an API to your product

The intended result: A documented, authenticated API covering the operations customers actually script.

What you can do

The free tools in this guide open right here on this site. For PostgreSQL and Webhooks (generic) you work in those services' own dashboards, because that part is done in the service itself. Where a step asks you to check or test something, you do it yourself.

At a glance

TimeOne day
Steps5 steps, in order
Free tools usedAPI Endpoint Designer, Mock API Runner, HTTP Request Builder
Outside servicesPostgreSQL, Webhooks (generic)
What you end withAn authenticated API with scoped tokens, rate limits, and docs whose examples actually run.

The steps

Steps that use the free tools run in your browser. Steps that involve an outside service are done in that service's own dashboard in that service's own dashboard.

Step 1

Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.

Step 2

Design the resources and verbs with api-endpoint-designer; keep it boringly RESTful unless you have a specific reason.

Step 3

Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed.

Step 4

Add token auth with per-token scopes and rate limits from day one; retrofitting limits angers everyone.

Step 5

Publish the docs page with working copy-paste examples you have personally run through http-request-builder.

Worked example - illustrative scenario, not a HiringsAI run

What this looks like on a real project

A small invoicing app has 400 customers. Support keeps hearing three requests: export invoices to the accounting tool, create an invoice from a CRM deal, and record a payment from a bank feed. Those three become the first endpoints, nothing else.

Resource / verbPathScope token needsWhy it is first
List invoicesGET /v1/invoices?since=invoices:readExport request, most frequent in tickets
Create invoicePOST /v1/invoicesinvoices:writeCRM deal request; needs an idempotency key
Record a paymentPOST /v1/invoices/{id}/paymentspayments:write, granted separatelyBank-feed request; changes money status, so it gets the strictest checks

Decisions to make before you start

Pagination

Cursor, not page numbers

Rows get inserted while a client pages; page numbers skip or repeat rows.

Retries

Idempotency-Key header on every POST

A client that times out will retry; without a key you create duplicate invoices.

Limits

Per-token, returned in headers

One noisy integration should not slow the others.

Changing payment status

Separate scope, evidence reference required, audit entry written

Marking an invoice paid affects accounting and customer access. Require a payment id from the payment source, make the call idempotent, and log who or which token did it.

How you know it is done

  • Each endpoint has a request you have run yourself and pasted into the docs unchanged.
  • A token with only invoices:read is rejected on POST with a clear error body, and recording a payment without a payment reference is rejected too.
  • Recording the same payment twice changes nothing the second time and both calls appear in the audit log.
  • A burst past the limit returns 429 with a retry hint, not a timeout.

Where this usually goes wrong

  • Exposing your internal table shape as the API; the first rename then breaks every customer.
  • Docs examples written by hand and never run.

The scenario and figures are an example. Your numbers will differ.

The result

An authenticated API with scoped tokens, rate limits, and docs whose examples actually run.

The tools this uses

API Endpoint Designer · Mock API Runner · HTTP Request Builder - all free, no account needed for the tools themselves.

Connectors used

Postgres · Webhook

All playbooks The Build suite

Each step in detail

What to do at each step, and which free tool does the work.

Step 1 of 5

Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

Step 2 of 5

Design the resources and verbs with api-endpoint-designer; keep it boringly RESTful unless you have a specific reason.

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

Full CRUD surface: List with pagination, create, read, update, delete - with the right status codes for each. Typed fields: string, number, boolean, date, enum - they drive the example payloads and schema.

Step 3 of 5

Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed.

Use Mock API Runner. Define routes - method, path, status, JSON body - and dry-run requests against them in the browser.

Block route definitions: Method, path, status and JSON body per block; path params with :id syntax. Real request matching: Method + path matching with params extracted and shown.

Step 4 of 5

Add token auth with per-token scopes and rate limits from day one; retrofitting limits angers everyone.

This step is done by you, in the service's own dashboard where one is involved. Write down what you decided so the next step has something to start from.

Step 5 of 5

Publish the docs page with working copy-paste examples you have personally run through http-request-builder.

Use HTTP Request Builder. Build an HTTP request, check it for mistakes, and copy it as curl, fetch, Python requests or Node code.

The free tools, closer up

Every tool runs in your browser and needs no account.

API Endpoint Designer

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.

  • Full CRUD surface. List with pagination, create, read, update, delete - with the right status codes for each.
  • Typed fields. string, number, boolean, date, enum - they drive the example payloads and schema.
  • OpenAPI 3 export. The YAML drops into Swagger UI, Postman or your docs pipeline.
  • Conventions stated. Naming, filtering and error-shape decisions are explicit, so a team can argue with them.

Real output from the tool

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

Mock API Runner

Define the API you are about to build - one route per block: method, path, status, JSON body - then fire requests at it in the page and see exactly what your front end will receive, before the backend exists.

  • Block route definitions. Method, path, status and JSON body per block; path params with :id syntax.
  • Real request matching. Method + path matching with params extracted and shown.
  • Latency simulation. A configurable delay makes loading states testable.
  • Fetch snippets. Each route generates the exact fetch() call for your front end.

Real output from the tool

YOU ENTER:
Input
GET /users 200
{"users":[{"id":1,"name":"Priya"},{"id":2,"name":"Dan"}]}
GET /users/:id 200
{"id":1,"name":"Priya","plan":"pro"}
POST /users 201
{"id":3,"created":true}
GET /health 200
{"ok":true}
Simulated latency (ms)
120
Input
GET Input  ->  /users/2

THE TOOL RETURNS:
fetch('/users', {method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({/* request body */})})
.then(r => r.text().then(t => t ? JSON.parse(t) : null));

HTTP Request Builder

Pick a method, enter the URL, add query parameters, headers, auth and a body. The tool flags problems, then writes the same request in four languages. Sending is a separate button, off by default, and it tells you what leaves your browser.

    Outside services in this playbook

    Each connector page states what it does.

    PostgreSQL

    Uses:

    • Slow-query reports compile weekly with indexes suggested.
    • Schema changes diff into a migration review note.
    • Table-growth anomalies alert before disk pressure.

    Do this part in PostgreSQL itself.

    Webhooks (generic)

    Uses:

    • Inbound events verify signatures, then start their mapped playbook.
    • Failed deliveries retry with backoff and dead-letter after five.
    • Event schemas validate and drift alerts when payloads change.

    Do this part in Webhooks (generic) itself.

    Questions

    How long does "Add an API to your product" take?

    Plan for one day. It has 5 steps and you can stop after any of them and pick up later.

    Do I need an account?

    No account is needed for the free tools in this playbook. They run in your browser.

    What do I end up with?

    An authenticated API with scoped tokens, rate limits, and docs whose examples actually run.

    Which steps need an outside service?

    Steps that involve PostgreSQL, Webhooks (generic) are done in that service itself, because that part is done in the service itself.

    Can I skip a step?

    You can, but the steps are in the order they are because each uses the output of the one before. The first step is: Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.

    API Endpoint Designer: Auth?

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

    API Endpoint Designer: Nested resources?

    Design each resource separately, then reference them.

    Mock API Runner: Path params?

    Use :name in the route path; the tester extracts actual values.

    Mock API Runner: Persistent?

    Definitions sit in the page; copy them out to keep them.

    A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Add an API to your product page

    Try it.

    Open the free tools this playbook uses, or pick another goal.

    In depth

    This guide on one page, with everything in order

    Add an API to your product has 5 steps. This part lays them out in one place with the tools and services each step uses, taken from the guide itself.

    Overview

    The page at a glance

    Add an API to your productThe wholeplan on onesheetThe freetools in thisguide, one byoneThe outsideservices, andwhat eachconnectordoesAPI Endpoint DesignerfeaturesAPI EndpointDesigner: Thewholeresource, notone routeAPI EndpointDesigner:Resource in,API outMock APIRunnerfeaturesThis guideon one pageTHIS PAGE
    Parts: The shape of "Add an API to your product", The whole plan on one sheet, The free tools in this guide, one by one, The outside services, and what each connector does, API Endpoint Designer: what it can do for this guide, API Endpoint Designer: The whole resource, not one route, API Endpoint Designer: Resource in, API out, Mock API Runner: what it can do for this guide
    1At a glanceBuild suite - One day.2One sheetEvery step from this playbook in onetable, with the tool or place where eachstep happens.3Free toolsEach tool runs in your browser and needsno account. The table says what each onedoes and what it gives you.4Outside servicesThese steps happen in the serviceitself. The connector pages say whateach connector does.5Tool by toolThe facts below are taken from the APIEndpoint Designer page itself.6MoreThis comes from the API EndpointDesigner page.7MoreThis comes from the API EndpointDesigner page.IN ORDER
    What each part tells you, in order

    At a glance

    The shape of "Add an API to your product"

    Build suite - One day. The intended result: A documented, authenticated API covering the operations customers actually script.

    5steps, in order
    3free tools used
    2outside services
    One dayto do it
    Survey support tickets for 'can I export/sync/automate' requestsDesign the resources and verbs with api-endpoint-designerStand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposedAdd token auth with per-token scopes and rate limits from day onePublish the docs page with working copy-paste examples you have personally run through http-request-builder
    Steps5Free tools3Outside services2Steps using a tool3Steps done by you2
    Survey supporttickets for 'can Iexport/sync/automate'requestsDesign theresources and verbswithapi-endpoint-designerStand the routes upagainst mock datafirst withmock-api-runner andlet one friendlyintegrator bang onAdd token auth withper-token scopesand rate limitsfrom day onePublish the docspage with workingcopy-paste examplesyou have personallyrun throughhttp-request-builderPATH
    In order: Survey support tickets for 'can I export/sync/automate' then Design the resources and verbs with api-endpoint-designer then Stand the routes up against mock data first with then Add token auth with per-token scopes and rate limits from then Publish the docs page with working copy-paste examples you
    Hands typing on a laptop at a wooden desk beside a notebook and a mug, banner image on the Add an API to your product page

    01 / 16

    01 / 16

    Build suite - One day

    The intended result: A documented, authenticated API covering the operations customers actually script.

    One sheet

    The whole plan on one sheet

    Step 1WHAT TO DOSurvey support tickets for 'can Iexport/sync/automate' requests - that isyour endpoint list, ranked.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 1

    Every step from this playbook in one table, with the tool or place where each step happens.

    StepWhat to doWhere it happens
    Step 1Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.You, in the service's own dashboard
    Step 2Design the resources and verbs with api-endpoint-designer; keep it boringly RESTful unless you have a specific reason.API Endpoint Designer
    Step 3Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed.Mock API Runner
    Step 4Add token auth with per-token scopes and rate limits from day one; retrofitting limits angers everyone.You, in the service's own dashboard
    Step 5Publish the docs page with working copy-paste examples you have personally run through http-request-builder.HTTP Request Builder
    Step 2WHAT TO DODesign the resources and verbs withapi-endpoint-designer; keep it boringlyRESTful unless you have a specificreason.WHERE IT HAPPENSAPI Endpoint DesignerROW
    Row: Step 2
    Step 3WHAT TO DOStand the routes up against mock datafirst with mock-api-runner and let onefriendly integrator bang on it beforereal data is exposed.WHERE IT HAPPENSMock API RunnerROW
    Row: Step 3
    Step 4WHAT TO DOAdd token auth with per-token scopes andrate limits from day one; retrofittinglimits angers everyone.WHERE IT HAPPENSYou, in the service's own dashboardROW
    Row: Step 4
    Step 5WHAT TO DOPublish the docs page with workingcopy-paste examples you have personallyrun through http-request-builder.WHERE IT HAPPENSHTTP Request BuilderROW
    Row: Step 5
    Survey supporttickets for 'canIexport/sync/automate'requests - thatis your endpointlist, ranked.Design theresources andverbs withapi-endpoint-designer;keep it boringlyRESTful unlessyou have aspecific reason.Stand the routesup against mockdata first withmock-api-runnerand let onefriendlyintegrator bangon it beforereal data isexposed.Add token authwith per-tokenscopes and ratelimits from dayone;retrofittinglimits angerseveryone.Publish the docspage withworkingcopy-pasteexamples youhave personallyrun throughhttp-request-builder.Step 1Step 2Step 3Step 4Step 5MATRIX
    Who or what does each row: Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked., Design the resources and verbs with api-endpoint-designer; keep it boringly RESTful unless you have a specific reason., Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed., Add token auth with per-token scopes and rate limits from day one; retrofitting limits angers everyone., Publish the docs page with working copy-paste examples you have personally run through http-request-builder.
    You, in the service'sown dashboardAPI Endpoint DesignerMock API RunnerHTTP Request BuilderStep 1Step 2Step 3Step 4Step 5MATRIX
    Who or what does each row: You, in the service's own dashboard, API Endpoint Designer, Mock API Runner, HTTP Request Builder
    2You, in the service'sown dashboard1API Endpoint Designer1Mock API Runner1HTTP Request BuilderTALLY
    Tally by where it happens: You, in the service's own dashboard, API Endpoint Designer, Mock API Runner, HTTP Request Builder
    1Step 1Survey support tickets for 'can Iexport/sync/automate' requests - that isyour endpoint list, ranked.2Step 2Design the resources and verbs withapi-endpoint-designer.3Step 3Stand the routes up against mock datafirst with mock-api-runner and let onefriendly integrator bang on it.4Step 4Add token auth with per-token scopes andrate limits from day one; retrofittinglimits angers everyone.5Step 5Publish the docs page with workingcopy-paste examples you have personallyrun through http-request-builder.INDEX
    Index: Step 1, Step 2, Step 3, Step 4, Step 5
    Step 1Step 2Step 3Step 4Step 5The wholeplan on onesheetMAP
    Map: Step 1, Step 2, Step 3, Step 4, Step 5
    Hands holding a smartphone above a laptop on a wooden table, banner image on the Add an API to your product page

    02 / 16

    02 / 16

    The result you are working toward

    A documented, authenticated API covering the operations customers actually script.

    Free tools

    The free tools in this guide, one by one

    API EndpointDesignerWHAT IT DOESDescribe a resource - its fields andtheir types - and get a full RESTsurface: collection and item routes,status codes.WHAT IS INSIDEFull CRUD surface. List with pagination,create, read, update, delete - with theright status codes for each.ROW
    Row: API Endpoint Designer

    Each tool runs in your browser and needs no account. The table says what each one does and what it gives you.

    API Endpoint Designer4Mock API Runner4HTTP Request Builder0
    ToolWhat it doesWhat is inside
    API Endpoint DesignerDescribe 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.Full CRUD surface. List with pagination, create, read, update, delete - with the right status codes for each. Typed fields. string, number, boolean, date, enum - they drive the example payloads and schema. OpenAPI 3 export. The YAML drops into Swagger UI, Postman or your docs pipeline. Conventions stated. Naming, filtering and error-shape decisions are explicit, so a team can argue with them.
    Mock API RunnerDefine the API you are about to build - one route per block: method, path, status, JSON body - then fire requests at it in the page and see exactly what your front end will receive, before the backend exists.Block route definitions. Method, path, status and JSON body per block; path params with :id syntax. Real request matching. Method + path matching with params extracted and shown. Latency simulation. A configurable delay makes loading states testable. Fetch snippets. Each route generates the exact fetch() call for your front end.
    HTTP Request BuilderPick a method, enter the URL, add query parameters, headers, auth and a body. The tool flags problems, then writes the same request in four languages. Sending is a separate button, off by default, and it tells you what leaves your browser.
    Mock APIRunnerWHAT IT DOESDefine the API you are about to build -one route per block: method, path,status.WHAT IS INSIDEBlock route definitions.ROW
    Row: Mock API Runner
    HTTP RequestBuilderWHAT IT DOESPick a method, enter the URL, add queryparameters, headers, auth and a body.WHAT IS INSIDEROW
    Row: HTTP Request Builder
    1Full CRUD surfaceList with pagination, create, read,update, delete - with the right statuscodes for each.2Typed fieldsstring, number, boolean, date, enum -they drive the example payloads andschema.3OpenAPI 3 exportThe YAML drops into Swagger UI, Postmanor your docs pipeline.4Conventions statedNaming, filtering and error-shapedecisions are explicit, so a team canargue with them.INSIDE THE TOOL
    API Endpoint Designer: Full CRUD surface, Typed fields, OpenAPI 3 export, Conventions stated
    1Block routedefinitionsMethod, path, status and JSON body perblock; path params with :id syntax.2Real requestmatchingMethod + path matching with paramsextracted and shown.3Latency simulationA configurable delay makes loadingstates testable.4Fetch snippetsEach route generates the exact fetch()call for your front end.INSIDE THE TOOL
    Mock API Runner: Block route definitions, Real request matching, Latency simulation, Fetch snippets
    Describe a resource - itsfields and their types - andget a full REST surface:collection and item routes,status codes, validationerrors, example JSON, and anOpenAPI 3 YAML export readyfor docs tooling.Define the API you are aboutto build - one route perblock: method, path, status,JSON body - then firerequests at it in the pageand see exactly what yourfront end will receive,before the backend exists.Pick a method, enter theURL, add query parameters,headers, auth and a body.The tool flags problems,then writes the same requestin four languages. Sendingis a separate button, off bydefault, and it tells youwhat leaves your browser.API Endpoint DesignerMock API RunnerHTTP Request BuilderMATRIX
    Who or what does each row: 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., Define the API you are about to build - one route per block: method, path, status, JSON body - then fire requests at it in the page and see exactly what your front end will receive, before the backend exists., Pick a method, enter the URL, add query parameters, headers, auth and a body. The tool flags problems, then writes the same request in four languages. Sending is a separate button, off by default, and it tells you what leaves your browser.
    Full CRUD surface. List withpagination, create, read,update, delete - with theright status codes for each.Typed fields. string,number, boolean, date, enum- they drive the examplepayloads and schema. OpenAPI3 export. The YAML dropsinto Swagger UI, Postman oryour docs pipeline.Conventions stated. Naming,filtering and error-shapedecisions are explicit, so ateam can argue with them.Block route definitions.Method, path, status andJSON body per block; pathparams with :id syntax. Realrequest matching. Method +path matching with paramsextracted and shown. Latencysimulation. A configurabledelay makes loading statestestable. Fetch snippets.Each route generates theexact fetch() call for yourfront end.API Endpoint DesignerMock API RunnerHTTP Request BuilderMATRIX
    Who or what does each row: Full CRUD surface. List with pagination, create, read, update, delete - with the right status codes for each. Typed fields. string, number, boolean, date, enum - they drive the example payloads and schema. OpenAPI 3 export. The YAML drops into Swagger UI, Postman or your docs pipeline. Conventions stated. Naming, filtering and error-shape decisions are explicit, so a team can argue with them., Block route definitions. Method, path, status and JSON body per block; path params with :id syntax. Real request matching. Method + path matching with params extracted and shown. Latency simulation. A configurable delay makes loading states testable. Fetch snippets. Each route generates the exact fetch() call for your front end.,
    1API EndpointDesignerDescribe a resource - its fields andtheir types - and get a full RESTsurface: collection and item routes.2Mock API RunnerDefine the API you are about to build -one route per block: method, path,status.3HTTP Request BuilderPick a method, enter the URL, add queryparameters, headers, auth and a body.INDEX
    Index: API Endpoint Designer, Mock API Runner, HTTP Request Builder
    A laptop in the dark with a rainbow-colored glow along its keyboard, banner image on the Add an API to your product page

    03 / 16

    03 / 16

    Where each step begins

    Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.

    Outside services

    The outside services, and what each connector does

    These steps happen in the service itself. The connector pages say what each connector does.

    ServiceWhat the connector does
    PostgreSQLSlow-query reports compile weekly with indexes suggested. Schema changes diff into a migration review note. Table-growth anomalies alert before disk pressure. Do this part in PostgreSQL itself.
    Webhooks (generic)Inbound events verify signatures, then start their mapped playbook. Failed deliveries retry with backoff and dead-letter after five. Event schemas validate and drift alerts when payloads change. Do this part in Webhooks (generic) itself.
    1PostgreSQLSlow-query reports compile weekly withindexes suggested.2Webhooks (generic)Inbound events verify signatures, thenstart their mapped playbook.IN ORDER
    In order: PostgreSQL, Webhooks (generic)
    A laptop and a tablet showing photo grids on a desk, with headphones and a branch in a vase, banner image on the Add an API to your product page

    04 / 16

    04 / 16

    Done in the service itself

    Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed.

    Tool by tool

    API Endpoint Designer: what it can do for this guide

    The facts below are taken from the API Endpoint Designer page itself. They are what the tool does, in the order the page lists them.

    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.
    Full CRUD surfaceTyped fieldsOpenAPI 3exportConventionsstatedPaged listsField-levelerrorsRequiredfieldsDates andenumsAPI EndpointDesignerfeaturesMAP
    Map: Full CRUD surface, Typed fields, OpenAPI 3 export, Conventions stated, Paged lists, Field-level errors, Required fields, Dates and enums
    People working together around a table with laptops, notebooks and drinks, banner image on the Add an API to your product page

    05 / 16

    05 / 16

    The facts below are taken from the API Endpoint Designer page itself

    They are what the tool does, in the order the page lists them.

    More

    API Endpoint Designer: The whole resource, not one route

    This comes from the API Endpoint Designer page.

    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.
    Full CRUD surfaceTyped fieldsOpenAPI 3exportConventions statedPaged listsField-levelerrorsAPI EndpointDesigner:The wholeresourceMAP
    Map: Full CRUD surface, Typed fields, OpenAPI 3 export, Conventions stated, Paged lists, Field-level errors

    More

    API Endpoint Designer: Resource in, API out

    This comes from the API Endpoint Designer page.

    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.
    Auth?Nestedresources?Is it onlyfor REST?What if I mistype a type?Does it writeserver code?Isauthenticationincluded?API EndpointDesigner:Resource in,API outMAP
    Map: Auth?, Nested resources?, Is it only for REST?, What if I mistype a type?, Does it write server code?, Is authentication included?

    Tool by tool

    Mock API Runner: what it can do for this guide

    The facts below are taken from the Mock API Runner page itself. They are what the tool does, in the order the page lists them.

    Block route definitions
    Method, path, status and JSON body per block; path params with :id syntax.
    Real request matching
    Method + path matching with params extracted and shown.
    Latency simulation
    A configurable delay makes loading states testable.
    Fetch snippets
    Each route generates the exact fetch() call for your front end.
    Block route definitionsReal requestmatchingLatency simulationFetchsnippetsMock APIRunnerfeaturesMAP
    Map: Block route definitions, Real request matching, Latency simulation, Fetch snippets

    Questions

    Mock API Runner: what people ask before using it

    These answers come from the Mock API Runner page.

    Path params?
    Use :name in the route path; the tester extracts actual values.
    Persistent?
    Definitions sit in the page; copy them out to keep them.
    CORS or real HTTP?
    Requests run in-page against your definitions; no network is involved.

    Tool by tool

    HTTP Request Builder: what it can do for this guide

    The facts below are taken from the HTTP Request Builder page itself. They are what the tool does, in the order the page lists them.

    JSON with a trailing comma
    The body is flagged as invalid JSON and no code is produced until it is fixed.
    Sending a body with GET
    Most servers ignore it. The body is left out and the tool says so.
    Basic auth with a colon in the username
    The format cannot carry it, so the tool refuses.
    A key pasted into the URL
    Query values are encoded, but the key still sits in the URL and in logs. Prefer a header when the API allows it.
    Forgetting Content-Type
    The tool adds it for JSON and form bodies and says it did.
    Raw body, no Content-Type
    Nothing is added, because the tool cannot know the type.
    Is anything sent while I build?
    No. Only the Send button makes a request.
    Why did Send fail but curl works?
    The server probably does not allow cross-origin reads. The request may or may not have reached it. Run the curl snippet.
    JSON with a trailing commaSending abody with GETBasic authwith a colonin theusernameA key pastedinto the URLForgetting Content-TypeRaw body, noContent-TypeIs anythingsent while Ibuild?Why did Sendfail but curlworks?HTTP RequestBuilderfeaturesMAP
    Map: JSON with a trailing comma, Sending a body with GET, Basic auth with a colon in the username, A key pasted into the URL, Forgetting Content-Type, Raw body, no Content-Type, Is anything sent while I build?, Why did Send fail but curl works?

    More

    HTTP Request Builder: What is inside the tool

    This comes from the HTTP Request Builder page.

    Seven methods
    GET, POST, PUT, PATCH, DELETE, HEAD and OPTIONS. A body on GET or HEAD is left out of the code, and the tool says so.
    URL and query parameters
    Enter one key=value per line. Names and values are percent-encoded and added to any query already in the URL. A fragment is kept. A line with no = is flagged.
    Header checks
    A line with no colon, a name with illegal characters, control characters in a value and repeated names are flagged. Headers a browser will not let a page set, such as Host, are listed in the code and called out for Send.
    Bearer and Basic auth
    Basic uses UTF-8 before base64, so a name or password with accents works. A colon in the username is refused because it cannot be encoded.
    JSON, form and raw bodies
    JSON is parsed and flagged if invalid. Form lines are encoded as application/x-www-form-urlencoded. Raw is sent as typed. Content-Type is added when you did not set one, and the tool tells you.
    Four code tabs
    curl, fetch, Python requests and Node. Each one has Copy and Download. Quotes, apostrophes, newlines, dollar signs and Unicode are escaped for that language.
    Seven methodsURL and queryparametersHeader checksBearer and Basic authJSON, formand rawbodiesFour codetabsHTTP RequestBuilder:What isinside theMAP
    Map: Seven methods, URL and query parameters, Header checks, Bearer and Basic auth, JSON, form and raw bodies, Four code tabs

    More

    HTTP Request Builder: Each of these produces a check

    This comes from the HTTP Request Builder page.

    JSON with a trailing comma
    The body is flagged as invalid JSON and no code is produced until it is fixed.
    Sending a body with GET
    Most servers ignore it. The body is left out and the tool says so.
    Basic auth with a colon in the username
    The format cannot carry it, so the tool refuses.
    A key pasted into the URL
    Query values are encoded, but the key still sits in the URL and in logs. Prefer a header when the API allows it.
    Forgetting Content-Type
    The tool adds it for JSON and form bodies and says it did.
    Raw body, no Content-Type
    Nothing is added, because the tool cannot know the type.
    JSON with a trailing commaSending abody with GETBasic authwith a colonin theusernameA key pasted into the URLForgettingContent-TypeRaw body, noContent-TypeHTTP RequestBuilder:Each oftheseMAP
    Map: JSON with a trailing comma, Sending a body with GET, Basic auth with a colon in the username, A key pasted into the URL, Forgetting Content-Type, Raw body, no Content-Type

    More

    HTTP Request Builder: Before you ask

    This comes from the HTTP Request Builder page.

    Is anything sent while I build?
    No. Only the Send button makes a request.
    Why did Send fail but curl works?
    The server probably does not allow cross-origin reads. The request may or may not have reached it. Run the curl snippet.
    Why is Host not sent?
    Browsers do not allow a page to set it.
    Are my credentials stored?
    No. They stay in the page and in the code you copy.
    Is anything sent while Ibuild?Why did Sendfail but curlworks?Why is Host not sent?Are mycredentialsstored?HTTP RequestBuilder:Before youaskMAP
    Map: Is anything sent while I build?, Why did Send fail but curl works?, Why is Host not sent?, Are my credentials stored?

    Steps

    HTTP Request Builder: the steps, in order

    The steps are taken from the HTTP Request Builder page.

    Choose the method
    Choose the method and paste the URL.
    Add query parameters
    Add query parameters, headers, auth and a body. Read the checks under the form.
    Pick a language tab
    Pick a language tab and press Copy or Download.
    Press Send only if you
    Press Send only if you want the browser to make the request now.
    Choose the methodAdd queryparametersPick a language tabPress Sendonly if youHTTP RequestBuilderstepsMAP
    Map: Choose the method, Add query parameters, Pick a language tab, Press Send only if you

    Limits

    HTTP Request Builder: what it cannot do

    These limits are stated on the HTTP Request Builder page.

    Send is limited by the browser
    A page can only read a response when the server allows it with CORS. When Send fails the tool says the outcome is unknown. A simple request can reach the server even though the page cannot read the answer. If the browser had to ask permission first and was refused, the real request was not sent. The page cannot tell which, so check the server log or use the curl tab.
    Forbidden headers are not sent
    Browsers ignore headers such as Host. They stay in the generated code so curl and Python can use them.
    Repeated headers differ by tool
    curl sends each repeated header as its own line. fetch, Node, Python requests and Send join them into one header with a comma and a space, and the code says so. Some servers treat the two forms differently. The tool flags every repeat.
    Not a full client
    No OAuth flows, cookie jar, file upload, multipart bodies, environments or saved collections.
    Credentials are in the code
    Bearer tokens and Basic passwords appear in plain text in the snippets. Do not paste real secrets into a shared screen or ticket.
    Other clients not run
    Only curl, Python requests and Node fetch were run. The tool does not generate code for other languages.
    Send is limited by thebrowserForbiddenheaders arenot sentRepeatedheadersdiffer bytoolNot a full clientCredentialsare in thecodeOther clientsnot runHTTP RequestBuilderlimitsMAP
    Map: Send is limited by the browser, Forbidden headers are not sent, Repeated headers differ by tool, Not a full client, Credentials are in the code, Other clients not run

    Finish

    What you end with

    1Survey support tickets2Design the resources and verbswith api-endpoint-designer34Add token auth5STEPS
    Steps: Step 1, Step 2, Step 3, Step 4, Step 5

    A documented, authenticated API covering the operations customers actually script.

    Work through the steps in the order shown. Each one uses what the one before produced.

    1. Step 1Survey support tickets for 'can I export/sync/automate' requests - that is your endpoint list, ranked.
    2. Step 2Design the resources and verbs with api-endpoint-designer; keep it boringly RESTful unless you have a specific reason.
    3. Step 3Stand the routes up against mock data first with mock-api-runner and let one friendly integrator bang on it before real data is exposed.
    4. Step 4Add token auth with per-token scopes and rate limits from day one; retrofitting limits angers everyone.
    5. Step 5Publish the docs page with working copy-paste examples you have personally run through http-request-builder.
    1Step 1Survey support tickets for 'can Iexport/sync/automate' requests - that isyour endpoint list, ranked.2Step 2Design the resources and verbs withapi-endpoint-designer; keep it boringlyRESTful unless you have a specificreason.3Step 3Stand the routes up against mock datafirst with mock-api-runner and let onefriendly integrator bang on it beforereal.4Step 4Add token auth with per-token scopes andrate limits from day one; retrofittinglimits angers everyone.5Step 5Publish the docs page with workingcopy-paste examples you have personallyrun through http-request-builder.IN ORDER
    In order: Step 1, Step 2, Step 3, Step 4, Step 5
    Step 1Step 2Step 3Step 4Step 5What you endwithMAP
    What you end with. Map: Step 1, Step 2, Step 3, Step 4, Step 5
    A tablet showing charts and graphs next to a coffee cup, banner image on the Add an API to your product page

    16 / 16

    16 / 16

    You end with

    A documented, authenticated API covering the operations customers actually script.