What is a mock API webhook (and how to make one free)

A mock webhook is a real HTTPS URL returning any response you define. Publish one in seconds, lock it with a key, inspect incoming traffic, and attach automation pipelines.

Back to Help Library

A mock webhook is a real HTTPS endpoint that returns a response you define. Instead of standing up a server, you publish a payload to a URL and point your app, a third-party service, or a curl command at it. It's ideal for testing a client, receiving a callback, or stubbing an API that isn't built yet.

  1. Sign in (a free account is enough to publish).
  2. Put your response payload in the editor - JSON, XML, YAML, whatever your caller expects.
  3. Click Publish in the toolbar. You get a public URL back immediately. On Pro or Team, the caret beside Publish optionally lets you choose a custom endpoint path.

Anyone with the URL can call it - fetching the slug is public on purpose, so real services can send it traffic. The response's Content-Type matches the format you published.

Toast notification reading 'Webhook published - URL copied' with the live endpoint URL, right after clicking Publish
Click Publish and the live URL is copied to your clipboard immediately - ready to paste into a client or curl command.

A fixed payload returns the same bytes every time. To return a fresh UUID, the current timestamp, a random value, or an echo of the incoming request, wrap a small expression in {{ … }} - see Return dynamic data from a mock API.

Each webhook has a private inspection portal, visible only to you. It logs every incoming request - method, headers, query string, and body - so you can confirm what your client actually sent. From the portal you can also set a canned response status code and clear the log.

Owner-only webhook portal showing the endpoint URL, a response status selector, response headers, and the JSON response payload editor
The owner-only portal: configure the response status and headers, edit the payload, and copy the URL - all in one place.
Recent requests panel showing one captured GET request, expanded into a 4-tab detail view: URL Params, Req Headers, Req Body, Response
Every request that hits your webhook shows up here - expand a row to see its params, headers, body, and the response you sent back.
  • Free endpoint lock: Require ?yl_key= or X-Yellorn-Key on every hit so keyless traffic gets 401 and is never logged.
  • Pro+ inbound security: Enforce IP allowlists (up to 20 IPs/CIDRs) and Basic, Bearer/header, Stripe, GitHub, or generic HMAC signatures — plus memorable custom paths.
  • DAG pipelines & MCP: Attach visual automation pipelines to route, transform, or relay traffic, or drive endpoints from Claude Code, Cursor, and VS Code via MCP.
  • Expiry: Free URLs stay live for 24 hours; Pro and Team URLs persist while your subscription is active.

What is a mock API webhook?

A mock webhook is a real HTTPS endpoint that returns a response you define without running a server. Publish a payload to a URL and point your app, a provider, or curl at it to stub an API or capture callbacks.

How do I create a free mock API endpoint?

Sign in (free), put your payload in the editor, and click Publish. You get a live HTTPS URL whose Content-Type matches your format. Pro and Team users can also choose custom memorable paths.

Can the mock API return dynamic data?

Yes. Embed {{ }} expressions like {{ uuid4() }}, {{ now() }}, {{ randint(1, 100) }}, or {{ request.ip }} anywhere in the payload — they render fresh on every request.

Can I restrict who can call my mock endpoint?

Yes. Free endpoint locks require ?yl_key= or X-Yellorn-Key on every hit (keyless requests get 401 and are not logged). Pro and Team add IP allowlists plus Basic, Bearer/API key, Stripe, GitHub, and generic HMAC verification.

Can I see the requests my mock endpoint receives?

Yes. Each webhook has an owner-only portal logging method, headers, query params, and body, where you can configure status/headers/delay, replay requests, or attach visual DAG automation pipelines.