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
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51fastring
required
Must be
multipart/form-dataForm Parameters
file
required
CSV or Excel (
.xlsx/.xls) file containing an email column (header: email, correo, e-mail, or mail); extra columns are ignoredstring
required
Survey language code. Values:
ar, ca, de, en, es, fr, it, pt, zhstring
required
Survey period start date (
YYYY-MM-DD)string
required
Survey period end date (
YYYY-MM-DD)string
required
Email subject line (1–255 characters)
string
Survey response deadline (
YYYY-MM-DD). After this date, the survey link expires.Response
Returns an array of created employees (HTTP 201).string
Unique identifier (UUID) for the employee
string | null
Employee’s full name
string | null
Employee’s email address
string
Organization UUID
string | null
Employment status:
active, inactive, or terminatedstring
Data status:
uploaded or loadingarray | null
List of commuting periods (empty for newly imported employees)
datetime
Timestamp when the employee was created
datetime | null
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