INE Service
Facephi INE Service is a C++ REST API service that enables identity verification using facial recognition. The service is based on the SelphID SDK, a technology developed by FacePhi. It implements the Mexican Mexipay-INE (Instituto Nacional Electoral) specification.
The service exposes the following endpoints:
POST /api/v1/facial/authenticationGET /api/v1/healthGET /api/v1/version
The supported image formats are:
INE (0)
JPEG (1)
TEMPLATE RAW (2)
BEST IMAGE TOKEN (3)
The service's main distribution is an Ubuntu 26.04-based Docker container.
JWT authentication
JWT authentication is optional and disabled by default.
It is configured when the service starts in
config.jsonusingauth_enabled,auth_jwt_secret,auth_accept_authorization_header,auth_accept_api_key_headerandauth_api_key_header_name.The same values can be overridden using the environment variables
FACEPHI_INE_REST_AUTH_*.GET /api/v1/healthandGET /api/v1/versionremain public.POST /api/v1/facial/authenticationrequires a valid JWT when authentication is enabled.The service does not expose
GET/POST /configendpoints at runtime, so JWT configuration can only be set at startup.
Last updated