XMembers Docs
Members

Export and import students by CSV

Export students, enrollments and progress, and import students from a CSV spreadsheet

You export your area's data from Export data and import new students from a spreadsheet in the Students tab of Import, without asking support for help. Open the import from the Import item in the sidebar menu.

Export

In Settings, open the Export data card, or use the Export button on the Members page. Only administrators can export. Click Export and choose the file:

OptionFileColumns
Studentsstudents-YYYY-MM-DD.csvname, email, phone, role, status, created_at, last_seen_at, access_expires_at
Enrollmentsenrollments-YYYY-MM-DD.csvemail, course, course_slug, status, started_at, expires_at
Progressprogress-YYYY-MM-DD.csvemail, course, course_slug, completed_lessons, total_lessons, percentage, last_completed_at
  • Dates come out in ISO 8601 format, like 2027-12-31T00:00:00.000Z. A field with no value comes out empty.
  • percentage is the share of completed lessons, rounded, and is 0 when the course has no lessons.
  • Passwords and session data are never included in the files.

Import

In the Students tab of Import, click Import CSV, choose the Default course, send the file and check the preview before confirming. Use Download template to start from a ready-made file.

Each student's email must be the same one used in the purchase, so that refunds and cancellations from your integrations also apply to them.

Columns

The first line of the file is the header. Column names are case-insensitive, and each column accepts three names:

ColumnAccepted namesRequiredWhat goes in it
Namename, nome, nombreYesUp to 100 characters
Emailemail, e-mail, correoYesA valid email
Phonephone, telefone, teléfonoNoFree text
Coursecourse, cursoNoThe course's address (slug) or name, case-insensitive
Expiryexpires_at, validade, vencimientoNoThe date the course access ends

Without the name and email columns, the file is rejected. The file can have at most 5 MB and 10,000 data rows.

Dates

The expiry accepts YYYY-MM-DD (2027-12-31) or DD/MM/YYYY (31/12/2027). When empty, the enrollment does not expire.

Default course

When a row has no course, the student joins the chosen Default course. With no default course, every row needs its own course. A row with a course filled in uses it, even when there is a default course.

Preview

Before anything is saved, the preview shows how many are New students, Existing students and Already enrolled, and lists the rows with errors. Only the rows without errors are imported; the others are left out without blocking the rest.

ReasonWhen it happens
Name is required (up to 100 characters)Empty name, or longer than 100 characters
Invalid emailThe email is not in a valid format
Course is requiredThe row has no course and there is no default course
Course not foundThe row's course does not exist in your area
Invalid dateThe expiry is not in one of the two formats, or is a date that does not exist, like 31/02/2027
Duplicate of another rowThe same email with the same course appeared earlier in the file

A student who already exists in the area is not duplicated and keeps their data: they only get the missing enrollment. Anyone already enrolled in the course is skipped.

Extra billing

If the new students go over your plan's limit, the preview shows the Extra billing notice. Students above the limit are billed extra, and the import is never blocked.

Batches and resuming

When you click Confirm import, students are imported in batches of 100, with progress on screen. If the connection drops or a batch fails, the import pauses and Try again continues from where it stopped. Running the import again never creates duplicate students or enrollments.

At the end, the report shows the Students created, Enrollments created and Skipped.

Access email

Imported students are created without a password and do not receive any email on their own. To notify them, click Send access email after the import.

  • The email goes only to the new students created in that import who have never received access. Anyone who already has a password gets nothing, and their password is never changed.
  • Sending is done in groups of 50. If it is interrupted, you can send again: anyone who already received it is skipped.
  • The sending report shows Sent, Skipped and Failed. Those that failed can be sent again.

Anyone who did not receive the email can go to your area's sign-in page and use Forgot password? to create their own password.

On this page