Primary Team Not Appearing in GraphQL Requests

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

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.

1 Like

Hey @kamescg :wave:

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

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.

1 Like

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

-Alex