Retrieve messages from a delivery
GET/truckers/deliveries/msg/:id
This endpoint returns all messages associated with a specific delivery.
Features:
- Returns messages sorted chronologically (most recent first)
- Includes text, attached photos, and metadata
- Displays author information (name and ID)
Use cases:
- Query the communication history for a delivery
- Verify reported updates or incidents
- Review attached photos of loading/unloading
Notes:
- Requires valid JWT authentication
- Only returns messages from deliveries assigned to the carrier
- Messages are stored in UTC format
Request
Responses
- 200
- 401
- 404
List of delivery messages
Unauthorized
Not found