Finger Service
Fingerprint Rest API for template extraction and 1:1 authentication.
Important compatibility notice
IMPORTANT - INCOMPATIBLE CHANGE (BREAKING CHANGE) (2.0.0)
Starting with version 2.0.0, the fingerprint operation endpoints are not compatible with version 1.x.x:
POST /api/v1/finger/extractPOST /api/v1/finger/authenticate
Legacy public routes POST /api/v1/finger/create-template and POST /api/v1/finger/verify are not available in version 2.0.0.
The request and response payload formats have changed. Integrations created for version 1.x.x must migrate to the 2.0.0 public contract before upgrading.
Overview
Facephi Finger Service exposes a public API under /api/v1/finger/ with fingerprint-oriented field names such as image, position, fingerTemplate, authStatus and similarity.
Optionally, the public fingerprint and management endpoints can be protected with JWT authentication. It is configured at service startup from config.json or from environment variables FACEPHI_FINGER_REST_*.
For requests that include fingerprint images (image, image1, image2), the supported formats are WSQ, bmp, png, jpg and jp2.
The service provides:
Fingerprint template extraction
Fingerprint 1:1 authentication
Usage counters through
GET /api/v1/finger/metricsHealth, version, and runtime configuration endpoints
Public contract
Extract
Supported image formats for image: WSQ, bmp, png, jpg, jp2.
Request:
Response:
Metrics
Response:
Notes:
usageCountersEnableddepends on the license metadata keyActivateUsageCounters.extractCountandauthenticateCountcorrespond to the license measurement attributesFingerExtractCounterandFingerAuthenticateCounter.totalCountis calculated asextractCount + authenticateCount.
Authenticate
Supported image formats for image1 and image2: WSQ, bmp, png, jpg, jp2.
Request using templates:
Request using images:
Response:
API endpoints
/api/v1/finger/extract
POST
Extracts a fingerprint template from a public payload
/api/v1/finger/authenticate
POST
Performs public 1:1 fingerprint authentication
/api/v1/finger/metrics
GET
Gets the usage counters report
/api/v1/finger/version
GET
Service version and license status
/api/v1/finger/health
GET
Service health and availability check
/api/v1/finger/config
GET/POST
Gets or updates the runtime configuration
Quick start
Requirements
OS
Linux x86_64
Runtime
Docker is recommended
License
Valid Facephi license file
Docker deployment
Verify the deployment
Typical responses:
When JWT authentication is enabled, health and version remain public while protected endpoints require a valid JWT.
Configuration
Create /app/config/config.json:
The JWT configuration is applied during service startup. If you update these values, restart the service.
Documentation
Vendor abstraction note
The documentation and public payloads intentionally keep the processing runtime abstracted. Integrations should rely solely on the documented Facephi public contract.
Support
For licenses and Technical Support, contact your Facephi representative.
Last updated