Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Downloading user lists - Amazon Chime

End of support notice: On February 20, 2026, AWS will end support for the Amazon Chime service. After February 20, 2026, you will no longer be able to access the Amazon Chime console or Amazon Chime application resources. For more information, visit the blog post. Note: This does not impact the availability of the Amazon Chime SDK service.

End of support notice: On February 20, 2026, AWS will end support for the Amazon Chime service. After February 20, 2026, you will no longer be able to access the Amazon Chime console or Amazon Chime application resources. For more information, visit the blog post. Note: This does not impact the availability of the Amazon Chime SDK service.

Downloading user lists

The following example shows how to download a list of users associated with your Amazon Chime administrative account in .csv format.

BufferedWriter writer = Files.newBufferedWriter(Paths.get("/path/to/csv")); CSVPrinter printer = new CSVPrinter(writer, CSVFormat.DEFAULT.withHeader("userId", "email")); ListUsersRequest listUsersRequest = new ListUsersRequest() .withAccountId(accountId) .withMaxResults(1); boolean done = false; while (!done) { ListUsersResult listUsersResult = chime.listUsers(listUsersRequest); for (User user: listUsersResult.getUsers()) { printer.printRecord(user.getUserId(), user.getPrimaryEmail()); } if (listUsersResult.getNextToken() == null) { done = true; } listUsersRequest = new ListUsersRequest() .withAccountId(accountId) .withNextToken(listUsersResult.getNextToken()); } printer.close();
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.