Create contact/support ticket
POST/company/contact/
Create a new contact/support ticket in the system.
Typical flow:
- The client (company or carrier) reports a problem
- The system registers the ticket and notifies the support team
- Support responds via email or platform
Considerations:
- Requires authentication for registered users (JWT)
- Allows anonymous contact with author=anonymous
- Validates UTC time zone via middleware
Request
Responses
- 200
- 400
- 401
- 500
Ticket successfully created. Returns the data of the registered ticket. Includes system-generated metadata (ID, timestamp, etc.).
Invalid request. Possible causes:
- Empty or too short message
- Invalid author type
- Unrecognized category
- Inaccessible attachments
Unauthorized. Invalid or expired JWT token (for authenticated users)
Internal server error while processing the request