Mock configuration import
Import, export, and reuse mock API configurations.
Runs in your browser
OutputText · 0 bytes
Your result will appear hereAdd your input, choose the options and run the tool.
Your input stays on this device. Nothing is uploaded or saved.
About Mock configuration import
Validate and normalize an existing socket.help mock API configuration for import or export.
When to use it
Reuse a known mock definition across test sessions.
{"name":"Example","routes":[{"method":"GET","path":"/hello","status":200,"body":"Hello"}]}How to use it
- Paste a JSON configuration with name and routes.
- Validate and copy the normalized JSON.
- Paste it into the Mock REST API editor’s Import configuration section.
Limits & privacy
Uses the same validation as the hosted mock API: one to 20 routes, 80 KiB total configuration, two-second maximum delay, and restricted response headers. Validation alone creates no endpoint.
Use this tool from the API reference or connect through the SDK, CLI, SSH, or MCP. Hosted calls share your plan allowances.