Get HOS signin and signout
🚧 This endpoint is still on our legacy API.
Get the HOS (hours of service) signin and signout logs for the specified driver. The response includes 4 fields that are now deprecated.
Note: If data is still being uploaded from the Samsara Driver App, it may not be completely reflected in the response from this endpoint. The best practice is to wait a couple of days before querying this endpoint to make sure that all data from the Samsara Driver App has been uploaded.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
To use this endpoint, select Read ELD Hours of Service (US) under the Compliance category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
Request
- Base URLhttps://api.samsara.com
- AuthHTTP bearer
Query parameters
Driver ID to query.
Beginning of the time range, specified in milliseconds UNIX time.
End of the time range, specified in milliseconds UNIX time.
Response
HOS authentication logs for the specified driver.
Example response
{
"authenticationLogs": [
{
"actionType": "signin",
"address": "THIS FIELD MAY NOT BE POPULATED",
"addressName": "THIS FIELD MAY NOT BE POPULATED",
"city": "THIS FIELD MAY NOT BE POPULATED",
"happenedAtMs": 1462881998034,
"state": "THIS FIELD MAY NOT BE POPULATED"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.