API Basics

The Samasara Web API allows access to all of your data in the Samsara Cloud via an HTTPS-based RPC-style API.  Detailed information can be found in the API Guide here: https://www.samsara.com/api

Key points:

  • Realtime and historical data for any time period and sample frequency can be requested
  • Temperature, Humidity, Power and Input Module data available
  • Access to the API is enabled for all customers
  • Authentication security is provided by an API Token and Secret Key system
  • Data delivered securely in JSON format over TLS