Start
Tutorial: your first twin
Create an account, make a REST twin, add one route, and call it with curl.
1. Open a workspace
Sign up with an email. The confirmation link sets your password and opens a Free workspace named from the part of the address before @. Free includes 3 twins, 30 routes, 1 seat, and 5,000 calls a month.
2. Create the twin
From Twins, choose Create twin. The first step only picks a protocol or a template. Nothing is stored yet. Pick REST, then on the next page set a name and leave the slug blank if you want one generated from the name. Create twin is the last action on that page.
3. Add a route
Open the twin, stay on Routes, and add a route. Method GET, path /health, behavior Static JSON, status 200, body {"status":"ok"}. Save.
4. Call it
curl -sS https://apitwin.dev/sim/YOUR-SLUG/health
The response is the body you saved. The Test tab sends the same request from the browser. The Logs tab stores the exchange. Scrubbing is on unless you turn it off in the twin settings, and it replaces emails, card numbers, and SSNs in those stored previews.