MockForge Salesforce Lab
MockForge Salesforce Lab Free mock API for Salesforce-style testing
Live and free
Try It Now

Modern mock API for Salesforce-style testing

A cleaner way to test data, endpoints, and webhooks.

Open a sample, see the JSON instantly, copy the endpoint, and move on. No login, no Salesforce org, and no setup needed.

9 data types 50 sample records One-click examples Webhook testing Free public API
Instant sample data

Choose Leads, Accounts, Tasks, Products, or another ready-made collection.

Instant JSON viewer

Every main button on the page opens a working response in the viewer automatically.

Start Here

New here? Start with one of these

You do not need to understand the full API first. These buttons are the easiest place to begin.

Step 1

See all data types

Open the summary and see everything included in this mock API.

Step 2

Try sample JSON

Load a simple Lead response and see what real API output looks like.

Step 3

Copy the API base URL

Use the base URL in Postman, frontend demos, browser tests, or QA scripts.

Step 4

Test a webhook

Jump straight to the inbound and outbound webhook tester.

Open Webhook Lab
Salesforce-shaped records

Lead, Account, Contact, Opportunity, Case, Task, Campaign, Product, and User datasets with realistic IDs and linked relationships.

Webhook safety rails

Outbound delivery is limited to public HTTPS targets with basic private-network blocking to reduce abuse risk.

Fast for demos and QA

Everything is public, immediate, and documentation-friendly, so teams can test mappings, filters, and payload logic without a heavy sandbox setup.

Data Types

Choose the kind of sample data you want

Every card below opens real JSON in the viewer. Pick whichever type matches your testing need.

6

Leads

Status, source, owner, revenue, website, and qualification state for inbound lead and lead-conversion flows.

5

Accounts

Industry, revenue, tier, country, and owner metadata for account sync, enrichment, and reporting tests.

6

Contacts

Account-linked contacts with lifecycle state, title, activity timestamps, and ownership for person-level integrations.

5

Opportunities

Stages, amounts, close dates, next steps, and probabilities for pipeline sync and closed-won scenarios.

5

Cases

Priority, status, origin, SLA, and escalation states for support workflow and service integration tests.

5

Users

Active owner records with profile, role, region, and time-zone metadata for routing and ownership mapping tests.

6

Campaigns

Budget, status, revenue targets, and date windows for attribution sync, launch notifications, and marketing ops flows.

6

Tasks

Activity records with due dates, priorities, owners, and related objects for workflow automation and SLA-style testing.

6

Products

Catalog data with family, product code, price, active state, and inventory labels for CPQ and sync fixtures.

Easy Examples

Try ready-made API examples

If you do not know which endpoint to use, click any example below. We will open it for you.

GET /api/v1/health

Check API status, version, dataset totals, and supported integration modes.

GET /api/v1/salesforce/summary

Return totals for each CRM object and the supported outbound event presets.

GET /api/v1/salesforce/leads?status=Working

List lead records for inbound capture, marketing sync, and conversion pipeline testing.

GET /api/v1/salesforce/opportunities?sort=amount_desc

List opportunities by amount, stage, owner, region, or close date.

GET /api/v1/salesforce/tasks?sort=duedate_asc

Inspect activity tasks by due date, owner, status, priority, or related object.

GET /api/v1/salesforce/campaigns?sort=budget_desc

Explore campaign records by status, owner, region, and budget for attribution-style tests.

GET /api/v1/salesforce/products?family=Integration&sort=price_desc

Browse product catalog records by family, activity state, and price to simulate sync and CPQ reads.

GET /api/v1/salesforce/search?type=campaigns&q=global

Search within a chosen Salesforce-style object collection by partial text.

POST /api/v1/webhooks/echo

Public inbound receiver that echoes the payload and selected headers for webhook validation.

Open webhook lab
POST /api/v1/salesforce/events/mock

Send a Salesforce-style test event to a secure HTTPS destination and inspect the delivery result.

Send mock event

API Viewer

See the response here

When you click a button anywhere on this page, the result appears here. You can also choose a request manually.

Useful filters

limit, page, sort, plus object-specific filters like status, industry, accountName, priority, stage, owner, region, family, isActive, minBudget, and minUnitPrice.

CRM-style object model

Designed around common Salesforce integration entities and mapping patterns.

Public read endpoints

Simple GET routes make it easy to use in demos, Postman, Playwright, and frontend data explorers.

Stable test identifiers

Salesforce-like IDs make callback tests and record references feel more realistic.

JSON Response

/api/v1/salesforce/summary

Ready

          

Webhook Lab

Test webhook sending and receiving

Paste a public HTTPS webhook URL, choose an event, and press send. If you are not sure what to use, press the echo button and test with MockForge itself.

Inbound receiver

/api/v1/webhooks/echo accepts POST JSON and returns the received payload plus selected request headers.

HTTPS-only outbound delivery

Mock events only send to public HTTPS URLs. Obvious local/private destinations are blocked.

Signature support

If you provide a secret, the sender adds an X-MockForge-Signature HMAC header.

Webhook Delivery Result

POST /api/v1/salesforce/events/mock

Ready

          

Examples

Use it from scripts, tests, middleware, or webhook debuggers

The examples below automatically point at the domain you loaded this page from.

curl CRM
JavaScript
Webhook POST