# Editable mock API

> Paste JSON or text, get a URL you can edit.

Editable mock API lets you build a mock endpoint by hand — choose a method and path, write the JSON response, and generate a live URL you can edit in place, with no account and no backend.

Also: editable mock api, json to endpoint, mock endpoint from json, custom json response url, temporary mock api, custom mock endpoint, fake api endpoint, json placeholder alternative, create mock api.

## What it does

When you want a mock shaped exactly the way you need — a specific method, path and response body — this builds it directly. Compose an endpoint, watch the response preview update as you type, and generate a real hosted endpoint that answers for 24 hours. Change the body or add another route and regenerate; the URL stays the same.

## When to use it

- You need a mock that returns a precise response for a specific method and path.
- You want to iterate on a response body and see it served live without redeploying.
- You are testing how a client handles POST, PUT, PATCH or DELETE, not just GET.
- You want to add a few related routes to one mock as you build.

## What you give it

| Input | Meaning |
| --- | --- |
| Method and path | The HTTP method (GET, POST, PUT, PATCH or DELETE) and the route the endpoint answers on. |
| Response body | The JSON the endpoint returns, validated as you type with a live preview. |

## What you get back

| Output | Meaning |
| --- | --- |
| Live mock URL | A hosted endpoint serving your response over real HTTP for 24 hours. |
| Editable routes | The response and routes you built, editable in place — regenerating updates the same URL. |

## Key terms

- **HTTP method** — the verb of a request — GET reads, POST creates, PUT and PATCH update, DELETE removes — which this mock matches alongside the path.
- **Request body** — the payload sent with a POST, PUT or PATCH; the mock accepts and drains it but serves its configured response regardless of what was sent.

## Questions

### Which methods are supported?

GET, POST, PUT, PATCH and DELETE.

### Does it read the request body I send?

It accepts a body on non-GET requests but does not echo it — the mock returns the response you configured, whatever was sent.

### Can I change the response after creating it?

Yes. Edit the body and regenerate; it updates in place at the same URL, up to the free edit limit.

### How long does the mock last?

It answers for 24 hours, then expires.


## Privacy

The response you write becomes the body of a public, unauthenticated mock URL, so it leaves your browser and anyone with the link can read it. Nothing else is collected — do not put secrets in the response.

## Links

- [Use the tool](https://www.postman.com/tools/editable-mock) — the interactive version of this page.
- [Postman Tools](https://www.postman.com/tools) — every free tool in this set.
- [Mock Servers docs](https://learning.postman.com/docs/design-apis/mock-servers/overview/) — Postman documentation.
