List carrier groups
GET/truckers/trucker-group/
Retrieves a paginated list of available carrier groups.
Functionality:
- Lists only accepted groups (accepted: true)
- Allows searching by group name
- Returns detailed information for each group including members and pending requests
Authentication required: Carrier company JWT
Usage example:
GET /truckers/trucker-group?page=1&limit=10&search=logistica
Request
Responses
- 200
- 401
- 500
Paged list of groups
Unauthorized or company not found. Possible causes:
- Invalid or expired JWT token
- The user is not associated with any carrier company
Internal Server Error