Skip to main content

Get group details

GET 

/truckers/trucker-group/:code

Retrieves the full details of a specific group by its unique code.

Functionality:

  • Returns detailed group information including associated and pending members
  • Includes a 'canJoin' field indicating whether the current company can join the group
  • Verifies that the user belongs to a valid carrier company

Authentication required: Carrier company JWT

Usage example:

GET /truckers/trucker-group/ABC123

Request

Responses

Complete details of the requested group.
Includes:

  • Basic group information
  • Member companies (associated)
  • Pending requests (pendingToAccept)
  • canJoin indicator for the current company