cURL
curl --request GET \ --url https://api.comm.com/api/v1/teams/{team}/invitations \ --header 'Authorization: Bearer <token>'
{ "data": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The team ID
if (! $request->user()->hasTeamPermission($team, 'team:management')) { return response()->json(['message' => 'Action not allowed'], 403); }