Skip to main content

Download Contract PDF

GET 

/truckers/contract/:service_code

Download the PDF document of a specific contract identified by its unique code.

Functionality:

  • Returns the contract PDF as binary data
  • Validates that the contract code exists
  • Requires valid JWT authentication
  • Includes Content-Type and Content-Disposition headers

Use Cases:

  • Viewing the contract in a browser
  • Local download for archiving
  • Integration with document management systems

URL Example: https://api.demo.cargoffer.com/truckers/contracts/TRANS-2023-001

Request

Responses

PDF of the contract