API Reference
Real-time face comparison for delivery workflows. Two endpoints, one header, multipart form — production-ready in under an hour.
API key authentication
Pass your key via the x-api-key request header on every call. Keys are prefixed fv_key_ and scoped per environment. Never expose them client-side in production.
x-api-key: fv_key_xxxxxxxxxxxxxxxx
/api/v1/registerStore a user's reference face. Call once during onboarding.
userIdstringUnique user identifierimagefileKYC / reference photo/api/v1/verifyCompare a live selfie against the stored reference face.
userIdstringUser ID to look upimagefileLive selfie from cameraregister200 OKsuccessriderIdmessageverify200 OKverifiedsimilaritythreshold400Bad RequestMissing userId or image field.
400401UnauthorizedInvalid or missing x-api-key header.
401404User Not FoundNo reference face registered for this userId.
404422No Face DetectedUploaded image contains no detectable face.
422500Internal ErrorServer-side failure — contact support at hello@webappdigitalsolutions.com.
500curl -X POST https://api.faceverify.io/api/v1/register \ -H "x-api-key: fv_key_your_api_key" \ -F "riderId=rider_102" \ -F "image=@/path/to/rider_doc.jpg"
curl -X POST https://api.faceverify.io/api/v1/verify \ -H "x-api-key: fv_key_your_api_key" \ -F "riderId=rider_102" \ -F "image=@/path/to/live_selfie.jpg"
Integration tip
Register once per user during onboarding, then call verify whenever identity confirmation is needed. Both similarity and threshold are returned so you can build a custom confidence UI or auto-flag low-confidence matches for manual review.