Get contract list
GET/truckers/contract/
Retrieves the complete list of available contracts for the authenticated carrier.
Functionality:
- Returns all contracts associated with the carrier
- Includes metadata such as name, version, and download URL
- Requires valid JWT authentication
Use Cases:
- Display contract list in mobile application
- Integration with fleet management systems
- Verification of active contracts
Response Example:
[
{
service_code: TRANS-2023-001,
name: General Transport Contract,
version: 1.2.0,
pdf_url: https://storage.cargoffer.com/contracts/TRANS-2023-001.pdf,
createdAt: 2023-01-15T10:30:00Z,
updatedAt: 2023-06-20T14:15:00Z
}
]
Responses
- 200
- 401
Contract List
Unauthorized. The JWT token is invalid or has expired. Authentication must be renewed.