Create new support ticket
POST/truckers/tickets/
Create a new support ticket for the authenticated carrier. Allows attaching up to 6 files (photos/documents) related to the issue.
Mandatory fields:
- message: Detailed description of the problem or request
- relatedTo: Related operation code (delivery/auction)
Usage example:
-
Report a delivery problem:
- message: The customer rejected the goods due to damage
- relatedTo: delivery
- Attach photos of the damage
-
Request help with a contract:
- message: I don't understand clause 5 of the contract
- relatedTo: contract
Notes:
- The user must be authenticated with a valid JWT
- Attached files must be images (jpg, png) or documents (pdf)
- Maximum file size is 5MB per file
Request
Responses
- 200
- 400
- 401
Ticket successfully created
Invalid input. This may be due to:
- Missing required field (message or relatedTo)
- Invalid reason (not in the allowed list)
- Attachments exceed size or quantity limit
Unauthorized. The JWT token is invalid or has expired. Valid authentication is required to access this endpoint.