Community
Refresh Token API not working
We have been using oAuth for our application for a while. Recently "oauth2/token" for refresh_token has been failing with error "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed" with error_hint "Make sure that the various parameters are correct, be aware of case sensitivity and trim your parameters. Make sure that the client you are using has exactly whitelisted the redirect_uri you specified"
Which url endpoint can i use to write live telematics of sensors?
Looking to write live telematics for multiple sensor types.
What is the endpoint to create "Deliveries"?
We read the API reference and, we did not find the endpoint to create deliveries which is different to routes and for that reason it is more functional to our operations...
Vehicle "Safe" Status
Is there a quick/easy way to get the current vehicle safe/unsafe status? Without polling all or the last DVIRs?
How i may to send the author type?
in https://api.samsara.com/fleet/defects/id where i want to update a defect is responding me with a error,
it say: ""message":"Author type must be \"mechanic\""" but in the docs there dont say how i need to declarate it
Upcoming Preventative Maintenance Items
I have a use case where I would like to access the "Upcoming Preventative Maintenance Items" and resolve them via an API call. I can't seem to find where this information exposed, is it available somehow?
Route ID
Do Route ID remains constant or change every time?
CORS Error - Anyone have any suggestions?
I'm trying to retrieve all routes for a given day and populate a Table in my web application. When I send the web request to Samsara I'm getting the following error message in my console log.
Driver ID
I want to return the driver ID based on username is there a way to do that with the drivers api.