Ostorya dev docs

Admin API/Team and commissions/Queries

team

query

Store › Team (Ostorya). Owner and admins only.

Returns Team!

query Team {
  team {
    googleSignInReady
    dispatch {
      enabled
      inactiveAfterMinutes
      inactivePolicy
      unassignedOpenCount
    }
    invites {
      id
      email
      phone
      createdAt
      expiresAt
      firstName
    }
    members {
      id
      name
      email
      phone
      createdAt
      accountType
    }
  }
}

Returned fields

dispatchDispatchSettings!required
googleSignInReadyBoolean!required
Whether invited members can sign in with Google yet (Ostorya: comes with the agents' app).
invites[StaffInvite!]!required
members[StaffMember!]!required