Skip to content

API

The Sinistral API endpoint is located at the api.* subdomain of your Sinistral installation. For example, the API for https://sinistral.demo.stacklet.io would be at https://api.sinistral.demo.stacklet.io.

Documentation for the Sinistral API is included below. Note that real requests to the API must include an authorization header with bearer token.

Getting a bearer token

  • Open the developer tools console of your browser and select the Network tab.
  • Log in to your Sinistral instance and visit the "Scans" page.
  • Find the /scans api request by filtering the list of network requests.
  • Copy the Authorization header from the Request Headers section.

A screenshot is included below to illustrate.