Skip to main content
POST
/
fleet
/
documents
/
pdfs
Create a document PDF
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specifies the document for which to generate a PDF.

Identifies a document for PDF generation.

documentId
string
required

ID of the document.

Example:

"6c8c0c01-206a-41a4-9d21-15b9978d04cb"

Response

Newly created PDF generation job.

Identifies a PDF generation job.

data
object