Overview
Client-mode REST API connector for Samsara fleet vehicle stats, assets, and alerts.BASE_ADDRESS defaults to https://api.samsara.com. Auth: Bearer API token. Pass secrets only at runtime via MQTT JSON placeholders or Hub GET SECRET — never commit real credentials.
Auth
Bearer API token. Prefer Hub secrets /GET SECRET. Never hard-code tokens into the .lot.
Basic Syntax
MQTT topics
Request topics underintegrations/samsara/request/...; responses on integrations/samsara/response/....
Template reference
Generated from the shipped broker templatesamsara (-routeCode SAMSARA). It lists every event the template defines.
Auth
Bearer API token Auth headers used by the template:Authorization: Bearer {value.json.api_token}.
Template parameters
BASE_ADDRESS default: https://api.samsara.com.
Events
Deploy
Get the template card (JSON withtemplate and metadata) from the broker, then deploy the connector:
BASE_ADDRESS already filled in:
-addRoute (do not include ADD METADATA).
Usage example
CallListvehicles by publishing a JSON payload to its request topic, and read the reply on the response topic:

