💻 Environment/Context
- Teams & players
- API
In order for you to view your teams, the Teams & players > Can view page permission must be enabled on your account.
If you're unable to follow any of the steps below, kindly reach out to your admin or refer to the Account Type Permissions Overview article for more information.
❓ Issue/Question
- Where can I find team ID and what is it?
- Is there an easier way of accessing a team ID?
👌 Resolution/Answer
-
Find the Team ID in the platform
- Go to
Configure>Teams & Players - Open the team you need
- Copy the number at the end of the URL in your browser's address bar
- Go to
-
Find the Team ID via the API
- Add your organization's API key to every request, in the
X-ScorePlay-Api-Keyheader - Send a GET request to
https://media.scoreplay.io/v1/teams- See the Teams endpoints in the developer documentation: https://developer.scoreplay.io/api-reference/#tag/teams
- Find your team in the response by its name and copy its
id
- Add your organization's API key to every request, in the
🔖 Notes
- The Team ID is the unique number that identifies a team in ScorePlay
- The Team ID isn't a tag: it links a team to an item, such as a collection
- How to obtain a player's player_id and company_id via API?