{
"opencollection": "1.0.0",
"info": {
"name": "Samsara Documents API",
"version": "2024-11-18"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Documents",
"type": "folder"
},
"items": [
{
"info": {
"name": "Fetch Document Types",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/fleet/document-types",
"params": [
{
"name": "after",
"value": "",
"type": "query",
"description": " If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results."
}
]
},
"docs": "Returns a list of the organization document types. The legacy version of this endpoint can be found at [samsara.com/api-legacy](https://www.samsara.com/api-legacy#operation/getDriverDocumentTypesByOrgId).\n\n Rate limit: 5 requests/sec (learn more about rate limits here).\n\nTo use this endpoint, select **Read Documents** under the Driver Workflow category when creating or editing an API token. Rate limit: 5 requests/sec (learn more about rate limits here).\n\nTo use this endpoint, select **Read Documents** under the Driver Workflow category when creating or editing an API token. Rate limit: 100 requests/min (learn more about rate limits here).\n\nTo use this endpoint, select **Write Documents** under the Driver Workflow category when creating or editing an API token. API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.\n\nTo use this endpoint, select **Write Documents** under the Driver Workflow category when creating "
},
{
"info": {
"name": "Query a Document PDF",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/fleet/documents/pdfs/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "ID of the pdf."
}
]
},
"docs": "Returns generation job status and download URL for a PDF. \n\n **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.\n\nTo use this endpoint, select **Read Documents** under the Driver Workflow ca"
},
{
"info": {
"name": "Fetch Document",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.samsara.com/fleet/documents/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "ID of the document"
}
]
},
"docs": "Returns a single document. The legacy version of this endpoint can be found at [samsara.com/api-legacy](https://www.samsara.com/api-legacy#operation/getDriverDocumentByIdAndDriverId).\n\n Rate limit: 25 requests/sec (learn more about rate limits here).\n\nTo use this endpoint, select **Read Documents** under the Driver Workflow category when creating or editing an API token. Rate limit: 100 requests/min (learn more about rate limits here).\n\nTo use this endpoint, select **Write Documents** under the Driver Workflow category when creating or editing an API token.