You may need to know the ITC_TEAM_ID, particularly when setting up automatic deployments to TestFlight in your CI/CD pipeline.
One way to do this is to use a Fastlane Spaceship playground.
I assume if you're reading this, you already have Fastlane installed.
To start a playground, run the following command in a terminal session:
fastlane spaceship