Initiate Recovery

Add a new employee to an existing recovery campaign.

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

Description

This API is used to add a new employee to an existing Recover Campaign, along with return address and assigned item details.

Request

Headers

HeaderValueRequired
AuthorizationBearer <token>Yes
Content-Typeapplication/jsonYes

Body Parameters

ParameterTypeRequiredDescription
campaign_numbernumberYesUnique identifier of the recover campaign
firstnamestringYesEmployee first name
lastnamestringYesEmployee last name
send_notifications_tostringNoWhere recovery email and SMS updates are sent: work or personal. Defaults to work.
work_emailstringConditionalEmployee work email address. Required when send_notifications_to is work (or omitted); optional when personal
personal_emailstringConditionalEmployee personal email address. Required when send_notifications_to is personal; optional when work
work_phonestringConditionalEmployee work phone number. Required when send_notifications_to is work (or omitted); optional when personal
personal_phonestringConditionalEmployee personal phone number (digits; without country code). Required when send_notifications_to is personal; optional when work. Dial country is taken from address country
address_line_1stringYesEmployee address line 1
address_line_2stringNoSecondary address line
citystringYesEmployee city
statestringConditionalEmployee state or region. Required when is_state_required is true for the selected country. See GET /api/v1/countries.
zipstringYesEmployee ZIP/postal code
countrystringYesEmployee country code
recovery_reasonnumberNoRecovery Reason for the user. 1 = Refresh, 2 = Break-Fix, 3 = Offboarding, 4 = Other
recovery_reason_notestringNoRecovery reason note is required only if recovery_reason is 4 (Other)
departmentstringNoDepartment name (not ID). Matched case-insensitively for the company; created if missing (minimum 2 characters when creating). Stored as department_id on the recovery employee
itemsarrayYes1 to 5 item objects assigned to employee
items[].itemstringYesName/label of the asset
items[].item_serial_nostringNoSerial number of the asset
items[].item_asset_idstringNoInternal asset ID
items[].item_imeistringNoIMEI number for mobile devices
items[].custom_field_1stringNoCustom metadata field 1
items[].custom_field_2stringNoCustom metadata field 2
items[].is_legal_holdnumberNoSend 1 to mark device for legal hold

Response

Response Fields

FieldTypeDescription
successbooleanIndicates if the request was successful
recovery_codestringGenerated recovery code
messagestringSuccess message

Notes

  • Use work_email for the employee work email. Required when send_notifications_to is work (or omitted); optional when personal.
  • Use work_phone for the employee work phone. Required when send_notifications_to is work (or omitted); optional when personal.
  • personal_email and personal_phone are required when send_notifications_to is personal; optional when preference is work.
  • send_notifications_to controls both email and SMS destinations. Optional; defaults to work. Personal phone country is stored from address country (same as work phone country).
  • Optional department is a department name (not ID). The API finds an active department for the company by case-insensitive name, or creates one (name must be at least 2 characters), then stores department_id on the recovery employee.
  • The state field is required only for countries where GET /api/v1/countries returns is_state_required: true. When required, the value must match a valid state or region for that country.
  • zip is required for all countries, including GB.
  • Campaign names must be unique within your organization. Attempting to create a campaign with a duplicate name will result in a 409 Conflict error.
  • The campaign_number is automatically generated and serves as the primary identifier for all subsequent operations.
  • New campaigns are created with an active status by default. You can track their progress through the Campaign List and Campaign Details endpoints.
  • Use descriptive campaign names and descriptions to help organize and identify recovery efforts across different time periods or departments.

Related Endpoints

Did this page help you?