Skip to content
Other

spinitron.com

Spinitron v2 sandbox and mock API

## Notes **Tutorial demo** using this API is at [https://spinitron.com/v2-api-demo/](https://spinitron.com/v2-api-demo/). For web integration using iframes and/or JavaScript instead of an API, see [https://spinitron.github.io/v2-web-integration/](https://spinitron.github.io/v2-web-integration/). **Your API key** is found in the Spinitron web app. Log in to Spinitron and go to *Automation & API* in Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
9
Collections
-
Event types
-
example request
curl https://your-spinitron.slurry.io/api/personas \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

All 9.

  • GET/personas
  • GET/personas/{id}
  • GET/playlists
  • GET/playlists/{id}
  • GET/shows
  • GET/shows/{id}
  • GET/spins
  • POST/spins
  • GET/spins/{id}