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(anddial_code) must have a finished verification. If there is none you get404with “No verification found for this phone number. Verify them first with POST /verification/new-staff.” underphone_number. If it hasn’t finished you get400“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_idanduanleft 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, else400under 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
nameand thedob(asdate_of_birth) from the verification result unless you were told otherwise. - The
201response also hasverification, 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
403with the plan upgrade message.
Authentication
Format: “Api-Key {api-key}”
Request
2–150 characters: letters, spaces or dots; must start with a letter. Extra spaces around it are trimmed.
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).
Country dial code without +, for example 91 (the default). Must be a known country code.
Exact branch names from List Branches (not empty, no repeats). If left out, the staff member joins the main branch.
Exact department names from List Departments (no repeats). Leave out or send [] for none.
Unique in the company, ignoring upper/lower case. Leave out if Auto employee ID is on.
YYYY-MM-DD, between 1950-01-01 and one year from today.
YYYY-MM-DD; the staff member must be 16 to 100 years old.
Format ABCDE1234F (upper-cased for you).
12 digits, starting with 2-9.
12 digits, starting with 1-9.
Standard PF number, for example MHBAN00000640000000125 (upper-cased for you).
2 letters then 13 digits, for example MH1420110012345 (upper-cased for you).
3 letters then 7 digits, for example ABC1234567 (upper-cased for you).
Format HDFC0001234 (upper-cased for you).
true confirms the bank details as the API key’s user; needs the account number and IFSC code.
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.
true sends the WhatsApp app invite (live environment only). Default false.
Response
The staff member was created. data.verification is their verification result.
