Skip to content

Import / Update Users

Bulk create (import) or update users through a single endpoint. Whether a record is created or updated depends only on the id field.

HeaderValue
api-keyImport API key
Content-Typeapplication/json
{
"users": [
{
"id": 1071,
"email": "john.doe@example.com",
"uber_id": 12345,
"first_name": "John",
"last_name": "Doe",
"partner_name": "Adecco",
"agency_id": "P-12345",
"active": 1
}
]
}
FieldTypeRequiredDescription
idintnoInternal user ID (Boolanga ID) to update. Omit to create a new user. If provided but no matching user exists, the record fails.
emailstringyesEmail address — must be unique across all users
uber_idnumericyesThe user’s Uber ID — must be unique across all users. No longer used for matching (use id instead).
first_namestringyesFirst name
last_namestringyesLast name
partner_namestringyesPartner name (must exactly match the name stored in the database, e.g. Adecco or Randstad)
agency_idstringnoAgency identifier — must be unique across all users
activebooleanyes1 = active, 0 = inactive
{
"success": true,
"results": {
"created": 2,
"updated": 1,
"failed": [],
"users": [
{
"index": 0,
"id": 1071,
"uber_id": "12345",
"email": "john.doe@example.com",
"action": "created"
}
]
}
}

results.users[].id is the internal, permanent identifier for the user in our system — referred to as the Boolanga ID. Use it (not uber_id) for any follow-up calls that need to address this specific user.

{
"success": true,
"results": {
"created": 1,
"updated": 0,
"failed": [
{
"index": 1,
"id": null,
"uber_id": 99999,
"email": "john.doe@example.com",
"error": "Partner not found: \"Unknown Partner\"."
}
],
"users": []
}
}
FieldTypeDescription
indexintIndex of this record in the request users array
idintThe Boolanga ID — internal, permanent user identifier
uber_idstringThe uber_id submitted for this record
emailstringThe user’s email
actionstringcreated or updated
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
User not found for id: "..."The given id does not match any existing user
Email already belongs to a different user.The email is already associated with a different user
uber_id already belongs to a different user.The uber_id is already associated with a different user
agency_id already belongs to a different user.The agency_id is already associated with a different user
  • No id provided: always creates a new user and sends a welcome email
  • id provided and found: updates that record; if active changes from 0 to 1, a reactivation email is sent
  • id provided but not found: the record fails, no user is created
  • Records listed in failed are not saved; all other records in the batch are processed independently