Skip to content

Quick Start

mockd lets you create mock API endpoints that return the responses you define. Your mocks run at the edge, so they’re globally distributed and fast.

Head to mockd.sh and sign in with GitHub or a magic link.

After signing in, click New Project. Give it a name — this groups your endpoints together.

Inside your project, click New Endpoint. Configure:

  • Method — GET, POST, PUT, DELETE, etc.
  • Path — the URL path your mock will respond on (e.g. /api/users)
  • Response status — 200, 404, 500, etc.
  • Response body — the JSON (or other content) to return

Your endpoint is live immediately. Send a request to it:

Terminal window
curl https://<your-project>.mockd.sh/api/users

The response body you configured is returned, and the request appears in the Request Log in real time.