Employee onboarding (Right to Work)
Right-to-work checks, done remotely and properly.
Remote hiring still demands a documented right-to-work check. Amani verifies the document, confirms a live person holds it, and produces the dated evidence pack your HR team needs to demonstrate compliance.
The challenge
Manual document checks are error-prone and physical checks are impractical for distributed teams - yet penalties for employing someone without the right to work are severe.
With Amani
- Identity documents and permits verified remotely
- Liveness and face match bind the document to the person
- Dated, immutable evidence pack per candidate
- Visa and permit expiry tracked for re-checks
- Consistent process across every hiring manager
The stack
Modules powering this flow.
Switch these on in Amani Studio - or call them directly from one API.
ID Verification
$0.15Verify any ID from 220+ countries in seconds.
ExploreNFC Reading
$0.15Chip-verified identity from ePassports and eIDs.
ExploreLiveness
From $0.15Catch deepfakes, masks and screen replays.
ExploreFace Match 1:1
$0.05Match a selfie to a document in milliseconds.
ExploreKYC
$0.35Onboard real customers. Block fraud in seconds.
ExploreFor developers
Build this flow.
Three API calls start the session; the modules above run inside it. Compose the journey in Amani Studio without code, or let your AI coding agent wire up the SDK from a single prompt.
- JWT auth with refresh tokens
- Regional base URLs (EU · TR · UAE)
- HMAC-signed webhooks with retries
- 27 languages in the SDKs
verify.sh
# 1 · Authenticate (server-side only)
curl -X POST 'https://ae.amani.ai/api/v2/user/login/' \
--form 'username="you@company.com"' \
--form 'password="••••••••"'
# 2 · Create the customer profile
curl -X POST 'https://ae.amani.ai/api/v2/profile' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
--form 'id_card_number="784199012345678"' \
--form 'name="Layla Haddad"'
# 3 · Generate the verification URL
curl -X POST 'https://ae.amani.ai/api/v2/profile/url' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
--data '{
"profile": PROFILE_ID,
"web_sdk_url": "https://verify.amani.ai",
"language": "en",
"return_url": "https://yourapp.com/verified"
}'
# This session runs: ID Verification, NFC Reading, Liveness, Face Match 1:1, KYC.with Amani Skills
# Install Amani Skills once
npx -y github:AMANI-AI-ORG/skills --global
# Then ask your coding agent:
You › Add the Amani KYC UI SDK to our Android onboarding right after sign-up, with ID document capture enabled.
# The matching skill fetches the live docs, pins the
# current SDK version and wires up the integration -
# secrets left as placeholders. Claude Code, Cursor and
# any Agent-Skills-compatible tool.webhooks.ts
// Amani signs every webhook with an HMAC signature using
// your secret. Always verify it before processing.
import crypto from 'node:crypto';
app.post('/webhooks/amani', (req, res) => {
// Confirm the exact header name in the Webhooks API reference.
const signature = req.get('X-Amani-Signature') ?? '';
const expected = crypto
.createHmac('sha256', process.env.AMANI_WEBHOOK_SECRET)
.update(req.rawBody)
.digest('hex');
const valid =
signature.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
if (!valid) return res.status(401).end();
const { profile, status } = req.body;
if (status === 'approved') activateAccount(profile);
res.status(200).end();
});Employee onboarding (Right to Work) - common questions
Does this satisfy UK Right to Work rules?
Amani provides IDVT-style digital verification with the evidence trail these schemes require; confirm current scheme requirements with your compliance advisor.
How are visa expiries handled?
Permit expiry dates are captured and can trigger automatic re-verification before they lapse.
Can HR staff review manually?
Yes - every check lands in Studio with the evidence for review and sign-off.
Related use cases
Build this flow with Amani
Compose it in Studio without code, or integrate the API in an afternoon.