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 and Power data available
  • Access to the API is enabled on request for each Organization
  • Authentication security is provided by an API Token and Secret Key system
  • Data delivered securely in JSON format over TLS