diff --git a/clerk/users.go b/clerk/users.go index 81ae0993..ca18985b 100644 --- a/clerk/users.go +++ b/clerk/users.go @@ -91,6 +91,7 @@ type ListAllUsersParams struct { Limit *int Offset *int EmailAddresses []string + ExternalIDs []string PhoneNumbers []string Web3Wallets []string Usernames []string @@ -150,6 +151,11 @@ func (s *UsersService) addUserSearchParamsToRequest(r *http.Request, params List query.Add("phone_number", phone) } } + if params.ExternalIDs != nil { + for _, externalID := range params.ExternalIDs { + query.Add("external_id", externalID) + } + } if params.Web3Wallets != nil { for _, web3Wallet := range params.Web3Wallets { query.Add("web3_wallet", web3Wallet)