// Get bearer token from request $accessToken = $request->bearerToken(); // Get access token from database $token = PersonalAccessToken::findToken($accessToken); // Get user data $userData = $token->tokenable;