Documentation

Learn how to create and manage mock APIs without writing any code.

What is EchoMock?

EchoMock is a powerful mock API service that allows you to create, manage, and test API endpoints without writing any backend code. Perfect for frontend developers, QA teams, and anyone who needs quick API prototypes.

🚀

Quick Setup

Create mock APIs in seconds with our intuitive interface

🎯

Dynamic Responses

Use special entities like <random:int> for realistic data

🔍

Request Logging

Track all incoming requests and create endpoints from logs

🏷️

Tagging System

Organize and filter your endpoints with custom tags

Getting Started

Follow these steps to create your first mock API:

1

Create an Application

Applications are containers for your endpoints. Each application has a unique slug and URL.

Learn More →
2

Define Endpoints

Create endpoint URLs with dynamic route parameters like /users/{id}

Learn More →
3

Configure Requests

Set up request handlers with custom responses, status codes, and delays

Learn More →
4

Test & Monitor

Use the logs page to track requests and create new endpoints on the fly

Learn More →

Quick Example

Here's a simple example of how to create a mock user API:

1. Create an Application

  • Name: My API
  • Slug: my-api
  • URL: http://echomock.test/mock/retrieve/my-api

2. Create an Endpoint

  • URL: /users/{id}
  • Full URL: http://echomock.test/mock/retrieve/my-api/users/{id}

3. Configure Request Response

  • Method: GET
  • Status: 200
  • Response:
{
  "id": <random:int>,
  "name": "<random:name>",
  "email": "<random:email>",
  "company": "<random:company>"
}

4. Test Your API

Make a request to: GET http://echomock.test/mock/retrieve/my-api/users/123

Response:

{
  "id": 42,
  "name": "John Doe",
  "email": "[email protected]",
  "company": "Acme Corporation"
}

Next Steps