Remote Asset Recovery - Bulk Upload

Add multiple employees to a recovery campaign in one request.

POST
/api/v1/recover/campaign/employee/bulk-add

Description

The Bulk Upload API enables customers to add multiple employees (up to 100) to a recovery campaign in one request. This simplifies large-scale data entry by accepting employee objects under a single campaign. A successful upload returns unique recovery codes for each entry.

Request

Headers

HeaderValueRequired
AuthorizationBearer <token>Yes
Content-Typeapplication/jsonYes

Request Body

ParameterTypeRequiredDescription
campaign_numbernumberYesUnique identifier of the recovery campaign
usersarrayYesArray of employee objects (1-100 employees recommended)

Employee Object Fields

ParameterTypeRequiredDescription
users[].campaign_numbernumberYesUnique identifier of the recovery campaign
users[].emailstringYesEmployee email address
users[].firstnamestringYesFirst name of the employee
users[].lastnamestringYesLast name of the employee
users[].phonestringYesPrimary phone number
users[].address_line_1stringYesPrimary address line
users[].address_line_2stringNoSecondary address line
users[].citystringYesCity of the employee address
users[].statestringYesState name
users[].zipstringYesZIP or postal code
users[].countrystringYesISO 2-letter country code

Item Object Fields

ParameterTypeRequiredDescription
users[].items[].itemstringYesDevice/item name
users[].items[].item_serial_nostringNoSerial number
users[].items[].item_asset_idstringNoAsset ID
users[].items[].item_imeistringNoIMEI number
users[].items[].custom_field_1stringNoCustom field 1
users[].items[].custom_field_2stringNoCustom field 2
users[].items[].is_legal_holdnumberNoSend 1 to mark device for legal hold

Response

Response Fields

FieldTypeDescription
recovery_codesarrayGenerated recovery codes for each uploaded user

Notes

  • The maximum recommended batch size is 100 employees per request to ensure optimal performance and reliability.
  • Each employee receives a unique recovery code that can be used to track their individual recovery status.
  • All employee fields (email, firstname, lastname, phone, city, state, zip, country) are required for successful processing.
  • If any employee in the batch has validation errors, the entire request may fail. Ensure all data is properly formatted before submission.
  • Recovery codes are generated automatically and returned in the response for record-keeping and tracking purposes.

Related Endpoints

Did this page help you?