Skip to navigation

Add Verified Staff

Adds a person to your company after you verified them with Verify New Staff. Not charged: the check was paid for in Verify New Staff. Shared rules: see Writing data.

The body is the same as Add Staff, with the same rules, plus these differences:

  • The phone_number (and dial_code) must have a finished verification. If there is none you get 404 with “No verification found for this phone number. Verify them first with POST /verification/new-staff.” under phone_number. If it hasn’t finished you get 400 “This phone number’s verification hasn’t finished. Send POST /verification/new-staff again to finish it, which isn’t charged again.”
  • pan, driving_license, voter_id and uan left out are taken from the verification (a UAN only when its record was found, so an invalid UAN never reaches PF filings). One that you send must be the number that was verified, else 400 under that field: “This isn’t the number that was verified. Send it to POST /verification/new-staff first (not charged again), or leave it out to use the verified one.”
  • Use the name and the dob (as date_of_birth) from the verification result unless you were told otherwise.
  • The 201 response also has verification, the same object Fetch Single Staff Verification returns. Adding closes the check, and the staff member shows in Staff Verification as pending review.
  • Marking them verified, settling name or date-of-birth mismatches and the verification report stay in the SalaryBox app.
  • Add Staff with a phone number that has a paid verification also closes the check, but doesn’t take the IDs from it. After Verify New Staff, use Add Verified Staff.
  • Needs the Background Verification feature on your plan, else 403 with the plan upgrade message.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Request

This endpoint expects an object.
namestringRequiredformat: "^[a-zA-Z][a-zA-Z .]*$"2-150 characters

2–150 characters: letters, spaces or dots; must start with a letter. Extra spaces around it are trimmed.

phone_numberstringRequiredformat: "^[0-9]+$"<=15 characters

Digits only, up to 15; must not already be used in the company. With dial_code 91: 10 digits starting with 6, 7, 8 or 9. Other codes: 4-15 digits valid for that country (not allowed on an Indian (INR) plan).

dial_codestringOptionalformat: "^[0-9]{1,4}$"1-4 characters

Country dial code without +, for example 91 (the default). Must be a known country code.

branch_nameslist of stringsOptional

Exact branch names from List Branches (not empty, no repeats). If left out, the staff member joins the main branch.

department_nameslist of stringsOptional

Exact department names from List Departments (no repeats). Leave out or send [] for none.

employee_idstringOptional1-200 characters

Unique in the company, ignoring upper/lower case. Leave out if Auto employee ID is on.

job_titlestringOptional1-150 characters
Up to 150 characters.
joining_datedateOptional

YYYY-MM-DD, between 1950-01-01 and one year from today.

date_of_birthdateOptional

YYYY-MM-DD; the staff member must be 16 to 100 years old.

emailstringOptionalformat: "email"<=200 characters
Official email address.
personal_emailstringOptionalformat: "email"<=200 characters
Personal email address.
current_addressstringOptional1-500 characters
permanent_addressstringOptional1-500 characters
Up to 500 characters.
genderenumOptional
Allowed values:
blood_groupenumOptional
employee_typeenumOptional
marital_statusenumOptional
Allowed values:
panstringOptionalformat: "^[A-Za-z]{5}[0-9]{4}[A-Za-z]$"

Format ABCDE1234F (upper-cased for you).

aadhaarstringOptionalformat: "^[2-9][0-9]{11}$"

12 digits, starting with 2-9.

uanstringOptionalformat: "^[1-9][0-9]{11}$"

12 digits, starting with 1-9.

pf_numberstringOptional<=22 characters

Standard PF number, for example MHBAN00000640000000125 (upper-cased for you).

esi_numberstringOptionalformat: "^[0-9]{10}$"
Exactly 10 digits.
driving_licensestringOptional

2 letters then 13 digits, for example MH1420110012345 (upper-cased for you).

voter_idstringOptional

3 letters then 7 digits, for example ABC1234567 (upper-cased for you).

bank_namestringOptional1-200 characters
bank_account_numberstringOptionalformat: "^[0-9]{8,18}$"
8 to 18 digits.
ifsc_codestringOptional

Format HDFC0001234 (upper-cased for you).

account_holder_namestringOptional1-255 characters
bank_details_confirmedbooleanOptional

true confirms the bank details as the API key’s user; needs the account number and IFSC code.

custom_fieldsmap from strings to stringsOptional

Custom field name (exact, from List Custom Fields) mapped to a text value of 1-200 characters, for example {"Blood Donor": "Yes"}. Must not be empty.

notify_staffbooleanOptionalDefaults to false

true sends the WhatsApp app invite (live environment only). Default false.

Response

The staff member was created. data.verification is their verification result.

messagestring
statusboolean
dataobject

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error