Skip to content

Import Users

Bulk create or update users. The unique identifier is uber_id — if a user with that uber_id already exists it will be updated, otherwise a new user is created.

HeaderValue
api-keyImport API key
Content-Typeapplication/json
{
"users": [
{
"email": "john.doe@example.com",
"uber_id": 12345,
"first_name": "John",
"last_name": "Doe",
"partner_name": "Adecco",
"active": 1
}
]
}
FieldTypeRequiredDescription
emailstringyesEmail address — must be unique per uber_id
uber_idnumericyesUnique identifier used for matching existing users
first_namestringyesFirst name
last_namestringyesLast name
partner_namestringyesPartner name (must exactly match the name stored in the database, e.g. Adecco or Randstad)
activebooleanyes1 = active, 0 = inactive
{
"success": true,
"results": {
"created": 2,
"updated": 1,
"failed": []
}
}
{
"success": true,
"results": {
"created": 1,
"updated": 0,
"failed": [
{
"index": 1,
"uber_id": 99999,
"email": "john.doe@example.com",
"error": "Partner not found: \"Unknown Partner\"."
}
]
}
}
StatusDescription
401Missing api-key header
403Invalid api-key
422Validation error (missing or invalid field)
ErrorDescription
Partner not found: "..."The given partner name does not exist in the database
Email already belongs to a different user.The email is already associated with a different uber_id
  • New user (uber_id does not exist yet): creates the user and sends a welcome email
  • Existing user (uber_id already exists): updates the record; if active changes from 0 to 1, a reactivation email is sent
  • Records listed in failed are not saved; all other records in the batch are processed independently