CSV Import
CSV Import
Bulk create employees from a CSV file and send survey emails
POST
CSV Import
CSV Import
Create multiple employees from a CSV or Excel (.xlsx/.xls) file and automatically send commuting survey emails to each one. The file should contain an email column identified by an email, correo, e-mail, or mail header. Extra columns are ignored. A single-column CSV with one email per line (no header) is also accepted; in multi-column files without a recognized header, the column containing email addresses is detected automatically.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faMust be
multipart/form-dataForm Parameters
CSV or Excel (
.xlsx/.xls) file containing an email column (header: email, correo, e-mail, or mail); extra columns are ignoredSurvey language code. Values:
ar, ca, de, en, es, fr, it, pt, zhSurvey period start date (
YYYY-MM-DD)Survey period end date (
YYYY-MM-DD)Email subject line (1–255 characters)
Survey response deadline (
YYYY-MM-DD). After this date, the survey link expires.Response
Returns an array of created employees (HTTP 201).Unique identifier (UUID) for the employee
Employee’s full name
Employee’s email address
Organization UUID
Employment status:
active, inactive, or terminatedData status:
uploaded or loadingList of commuting periods (empty for newly imported employees)
Timestamp when the employee was created
Timestamp when the employee was last updated
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Invalid CSV format or missing required columnsRelated Endpoints
Create Employee
Create a single employee
Resend Survey
Resend survey to existing employees