Overview

Introduction

The Sentinel API allows you to programmatically interact with your monitoring data, manage monitors, and integrate with your existing tools and workflows.

Base URL

The base URL for all API endpoints is:

https://sentinel.rootstuff.io/api

Authentication

The Sentinel API uses token-based authentication. You can generate an API token from your User Settings → API Tokens page. Once you have your token, include it in the Authorization header of your API requests:

Authorization: Bearer YOUR_API_TOKEN

Headers

All API requests must include the following headers:

Accept: application/json
Content-Type: application/json

Example Request

curl "https://sentinel.rootstuff.io/api/monitors" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"

Security Best Practices

  • Never commit API tokens to version control
  • Store tokens in environment variables or secret managers
  • Rotate tokens regularly
  • Use separate tokens for different applications