Using the API Explorer

The API explorer (the section of documentation you're currently on) allows you to use the "Try It" button to make live calls to our development API right from the webpage.

Additionally, the code that it generates will allow you to copy+paste code into your favorite text editor and run it locally. This code includes our Bearer token for the development API (which can and does change sometimes, so check back to this documentation if it suddenly stops working). That's meant to get you working with an immediately functional piece of sample code right away, but when you're ready to deploy your own scripts against your own version of Snipe-IT, make sure you change the code to reflect your own server and Bearer tokens!

The development API database resets every day, so you don't want to be accidentally shipping your internal data to the development API, only to find it's all gone the next day.