Create a Static API endpoint
- Open your project and click New Endpoint.
- Set the Action to
Static API. - Define the response body your frontend expects:
- Click Create. The endpoint is live immediately at a unique, auto-generated URL:
200 — there’s no backend behind this yet, so there’s nothing to be slow or unavailable.
Matching real API shape
A mock is only useful if it looks like the real thing. Make your response mirror what the real backend will eventually return, and you prevent a wave of breaking changes on the day you switch to it. For a paginated list endpoint, mock the envelope too:Switch to your real backend — zero downtime
Once your backend exists, turning the mock into the real thing is a single edit — not a migration.- Change Action from
Static APItoSync API. - Set the Destination URL to your backend:
- Save. All future requests are proxied to your backend — no changes needed in your frontend. The URL your frontend has been calling all along doesn’t change.
getrequest forwards the original request body verbatim. Headers pass through a fixed allow-list (common headers plus anything
X-prefixed) rather than every header unconditionally — see Limits, timeouts & error responses for the exact list, and Capture and inspect webhooks for why that matters if you’re relying on a provider’s signature header.