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

You must be an Amazon Chime system administrator to complete the steps in this guide. If you need help with the Amazon Chime desktop client, web app, or mobile app, see Getting support in the Amazon Chime User Guide.

You must be an Amazon Chime system administrator to complete the steps in this guide. If you need help with the Amazon Chime desktop client, web app, or mobile app, see Getting support in the Amazon Chime User Guide.

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.