Forum Discussion
jayhawk
6 years agoAdvocate I
Connect to API. Bearer Token
Hi I am having a hard time connecting to data via API. I am attempting pull out data from Samsara, https://www.samsara.com/api#. (the website is public info). They use something called Bearer Toke...
Mdauria6087
3 years agoNew Member
Does anyone know how to get a full YTD dataset from the Samsara API. The endCursor is limiting me to 3 rows only.
Here is my call:
GET /fleet/hos/daily-logs?startDate=2022-01-01&endDate=2022-11-01&driverActivationStatus=active&expand=vehicle HTTP/1.1
Accept: application/json
Authorization: Bearer samsara_api_?????????????????????????
Host: api.samsara.com