Skip to main content

Primary Team Not Appearing in GraphQL Requests

  • August 20, 2020
  • 4 replies
  • 1334 views

kamescg

I’m working on a third-party application that uses existing Monday team members to add additional permissions for outside data sources.

However, when I use the teams GraphQL query request the primary team is not returned.

In other words, if I create another team, that team will be returned in the request, but not my primary team.

Thoughts?

Two Teams Create


API Playground Query

This topic has been closed for replies.

4 replies

mitchell.hudson

Hi @kamescg,

Can you please expand on what you mean by ‘Primary Team’?

Looking at your list on the left hand side, you only have the Fresh Team which is being returned by your response.


AlexSavchuk
Forum|alt.badge.img
  • monday.com Team Member
  • August 21, 2020

Hey @kamescg 👋

Thanks for reaching out about this one! To be transparent with you, I’d have to agree with @mitchell.hudson - are you looking to simply get a full list of users within your account? If so, I believe the “users” query might make more sense than the “Teams” query this time around.

What do you think? Let me know.

-Alex


kamescg
  • Author
  • Participating Frequently
  • August 21, 2020

Duh… Makes a ton of sense. For some reason just figured I would be able to query the initial setup information as the original team.

Thanks.


AlexSavchuk
Forum|alt.badge.img
  • monday.com Team Member
  • August 22, 2020

@kamescg I’m glad we were able to help out here, and no worries at all, your approach makes total sense as well 🙂

-Alex