Name your mock, write the response body, and hit Generate. Edit and save anytime — free, no login.
GET
.…/
Response body
This mock expires in 24 hours.
Sign up to make it permanent, version it, and share it with your team.
Request logs
Create a mock, then calls to its URL show up here.
Keep this mock.
Keep it past 24 hours. Pick where.
In the web appDeploy it with a durable URL, edit it any time, and share it with your team.
In your repoYour coding agent serves this JSON from a mock on your machine, and you keep editing it there.
Serve my JSON from a Postman mock in this repo that I can keep editing.
Ask me for the JSON I want served first.
1. Install the Postman plugin (`npx -y @postman/postman-plugin install --yes --agent claude-code`, or `codex` or `cursor`; skip it for other agents) and the Postman CLI (`npm install -g postman-cli`) if missing. If `postman update --check` finds a newer version, ask me to run `postman update` and wait. Then run `POSTMAN_REFERRER=tools/editable-mock postman --version`.
2. Write a one-path OpenAPI spec whose GET example is my JSON, run `postman mock generate <spec-file>`, then start `postman mock run postman/mocks/<name>` in the background.
3. GET the path, tell me the URL, and show me how to change the response later. Then offer to host it: `postman mock push <path> --json` (after `postman init --yes` if no workspace is linked), then `postman mock deploy <mock-id> -y` (private by default, and both need `postman login`).
Check flags with `postman <command> -h`. Ask me before changing anything in my Postman account.
Works in any coding agent that can run terminal commands.
No account needed to start. The mock runs on your machine.