Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Client Help

How do I get an ID of a team by name?

Article 2971073, Status: VALIDATED

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Client Help
+ More

Table of Contents

❓Issue/Question 💻Environment/Context 👌Resolution/Answer 🗒️Scratch Pad

❓Issue/Question

  • I want to get teamId by using a name
  • What is the teamId for “CS2-1” in CS2?

💻Environment/Context

  • Central Data

👌Resolution/Answer

  • You need to use the Teams query and filter by name. Example below (title optional)
query Teams {
    teams(filter: { 
        name: {contains: "CS2-1"}, 
        titleId: "28" 
        }) 
    {
        edges {
            node {
                id
                name
            }
        }
    }
} 

🗒️Scratch Pad

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Why can't I see teams listed under a tournament?
  • Can I get a list of series that are currently live?
Privacy Policy
Esports Players Privacy Notice
Imprint
Careers
GRID® 2022 | All Rights Reserved
Expand