Request creation of a document PDF.
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.
To use this endpoint, select Write Documents under the Driver Workflow category when creating or editing an API token. Learn More.
curl --request POST \
--url https://api.samsara.com/fleet/documents/pdfs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documentId": "6c8c0c01-206a-41a4-9d21-15b9978d04cb"
}
'{
"data": {
"documentId": "6c8c0c01-206a-41a4-9d21-15b9978d04cb",
"id": "5c8c0c01-206a-41a4-9d21-15b9978d04cb"
}
}Documentation Index
Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Specifies the document for which to generate a PDF.
Identifies a document for PDF generation.
ID of the document.
"6c8c0c01-206a-41a4-9d21-15b9978d04cb"
Newly created PDF generation job.
Identifies a PDF generation job.
Show child attributes
curl --request POST \
--url https://api.samsara.com/fleet/documents/pdfs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"documentId": "6c8c0c01-206a-41a4-9d21-15b9978d04cb"
}
'{
"data": {
"documentId": "6c8c0c01-206a-41a4-9d21-15b9978d04cb",
"id": "5c8c0c01-206a-41a4-9d21-15b9978d04cb"
}
}