Confirm Action

Are you sure you want to proceed?

Service Builder

Dynamic Services

Create and manage custom mock API services

0 services 0 groups
0 services

Basic Information

Define the service name, endpoint path, and grouping

Service Grouping

Group under existing service or create standalone

Creates a new folder in /mocks/

Lowercase letters, numbers, and hyphens only. Used for file names.

The URL path. Use :paramName for route parameters (e.g., /v1/service/:id/details)

Name of the array in mock JSON (e.g., "records", "persons", "items")

Request Parameters

Define the parameters your endpoint will accept

Name Source Type Required Date Tol. Val.
JSON Payload

Paste your sample request payload and click "Extract Parameters" to auto-generate parameters

Mock Data Records

Define sample data records that will be returned by the endpoint

JSON Editor

Enter mock data as JSON. The array name should match your "Records Array Name" setting.

Record Filtering

Map request parameters to record fields for filtering

Define which request parameters match which fields in your mock data records

Error Responses

Customize the JSON responses for different error scenarios (10 types)

Client Errors (4xx)
Server Errors (5xx)
Missing Required Parameters HTTP 400 Bad Request
Authentication Required HTTP 401 Unauthorized
Access Denied HTTP 403 Forbidden
Resource Not Found HTTP 404 Not Found
Method Not Allowed HTTP 405 Method Not Allowed
Resource Conflict HTTP 409 Conflict
Validation Failed HTTP 422 Unprocessable Entity
Rate Limit Exceeded HTTP 429 Too Many Requests
Internal Server Error HTTP 500 Internal Server Error
Service Unavailable HTTP 503 Service Unavailable

Review & Create

Review your configuration and create the service

Editing service: -

Service Name

-

Service Group

-

Endpoint

-

Method

-

Parameters

-

Filter Fields

-

Generated Middleware Preview

Loading preview...

Import Services

Services to Import (0)