code: func (o *OrgInvitesClient) List(ctx context.Context, orgID *identity.ID, states []string, email string) ([]envelope.OrgInvite, error) {
  	v := &url.Values{}
  	v.Set("org_id", orgID.String())
  
  	for _, state := range states {
  		v.Add("state", state)
  	}
  
  	if email != "" {
  		v.Add("email", email)
  	}
  
  	var invites []envelope.OrgInvite
  	err := o.client.RoundTrip(ctx, "GET", "/org-invites", v, nil, &invites)
  	return invites, err
  }
docs: // List lists all invites for a given org with the given states