Please note that you are required to have a webhook set for employment verification requests to be successful. If they are not set, you will not get notified when the verification has been completed.
{"status": "success","data": {"id": 2455,"employerName": "verifyme","employerPhone": "08128730170","employerEmail": "[email protected]","startDate": "5/6/2020","endDate": "10/12/2020","title": "software engineer","applicant": {"firstname": "John","lastname": "Doe","middlename": " ","phone": "+234812345678","gender": "Male","photo": "<base64 image>"},"status": {"status": "PENDING","subStatus": "PENDING","state": "PENDING"},"currentlyEmployed": true}}
{"status": "error","message": "string","code": "ACCESS_DENIED"}
{"applicant": {"idType": "NIN","idNumber": "10000000001","firstname": "john","lastname": "doe","dob":"04-04-1944","phone": "08121234567"},"employerName":"verifyme","employerEmail":"[email protected]","employerPhone":"0812345678","startDate":"5/6/2020","endDate":"10/12/2020","jobTitle":"plumber","currentlyEmployed":true,"contactPersonName":"james bay"}
curl --location --request POST 'https://vapi.verifyme.ng/v1/verifications/employment' \--header 'Authorization: Bearer <live or test key>' \--header 'Content-Type: application/json' \--data-raw '{"applicant": {"idType": "NIN","idNumber": "10000000001","firstname": "john","lastname": "doe","dob":"04-04-1944","phone": "08121234567"},"employerName":"verifyme","employerEmail":"[email protected]","employerPhone":"0812345678","startDate":"5/6/2020","endDate":"10/12/2020","jobTitle":"plumber","currentlyEmployed":true,"contactPersonName":"james bay"}'