FACEIO REST API
Call the FACEIO REST API from your private backend to manage Facial IDs, compare face images, estimate age and gender, update payloads and PIN Codes, retrieve application statistics, and check API status.
Create an application in the FACEIO Console, then retrieve its private API key from the Application Manager. Keep the key on your backend.
The FACEIO REST API
Backend HTTP endpoints for Facial ID management, face verification, and application operations
Every FACEIO application is assigned an API key automatically. You can retrieve this key from the Application Manager on the FACEIO Console ↗. This private API key lets your backend call the FACEIO REST API from any programming language that supports HTTPS.
- Uses standard HTTP capabilities for parameter passing and API key authentication.
- Returns standard HTTP response codes to indicate success and error states.
-
Always returns
JSONfor every request, regardless of the outcome.
Important Notice
API calls and Widget instantiation via the fio.js JavaScript library are separate workflows. Enrollment and authentication happen client-side in the user's browser. REST API calls should originate from your private application backend and may be subject to quotas or throttling depending on your
plan. If you are new to FACEIO, start with Getting Started, then use the Integration Guide. See the pricing table for REST API quota limits.
REST API Base URL
-
The FACEIO API’s base endpoint is located at
https://api.faceio.net/. -
The request URL scheme is
https://api.faceio.net/cmd?param=val¶m2=val2wherecmdis the API endpoint andparam=valvalues are endpoint parameters. Each endpoint section below lists the supported HTTP method. - Monitor API health and status in real-time at status.faceio.net ↗.
Retrieve Your API Key
When you create a new FACEIO application, you are automatically assigned an API key. Follow these steps to retrieve and manage your key:
- 1 Log in to the FACEIO Console ↗.
- 2 Navigate to the Application Manager.
- 3 Select the application you wish to manage.
- 4 Click on the API Key tab.
- ✓ Copy the API key for your server-side HTTP API calls. The same tab provides API analytics and quota information.
Authentication
You authenticate to the target FACEIO API endpoint by embedding your API key in the incoming HTTP request. Refer to the section above on how to retrieve and manage this API Key.
Authentication Methods
Send the API key using one of the following supported methods:
Security Warning: Keep your API keys secure. Never expose them in client-side code, public repositories, browser JavaScript, mobile app bundles, logs, or analytics tools. Use authorized server-side scripts only and review the security best-practice guide before production use.
HTTP Responses, Status & Error Codes
The following HTTP status codes are returned for each request. All API Endpoints return application/json regardless of success or failure. Handle failures explicitly on your backend before granting access, updating user records, or trusting a Facial ID state.
REST API Endpoints
The following section details all exposed FACEIO REST API endpoints. Enhancements and new endpoints are added with each release. This is your reference document. For private infrastructure and data residency requirements, review FACEIO On-Premises. For suggestions or feature requests, support is available via the FACEIO Console ↗.
Endpoints Documentation
DELETEFACIALID
GETHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
Facial ID Deletion Code Sample (Python)
CHECKFACIALID
GETHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
Facial ID Validation Code Sample (Python)
FACE-VERIFY
POSTHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
Face Verify Code Sample (Python)
AGE-CHECK
POSTHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
Age & Gender Verification Code Sample (Python)
SETFACIALIDPAYLOAD
POSTHTTP Parameters
HTTP Response
application/json
SETFACIALIDPINCODE
POSTHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
Change PIN Code Sample (Python)
STAT
GETHTTP Parameters
HTTP Response
application/json
This API endpoint always returns a JSON object. The following fields are returned:
ABOUT
GETHTTP Parameters
HTTP Response
application/json
STATUS
GETHTTP Parameters
HTTP Response
application/json
Connect Your Backend to the REST API
Create a FACEIO application, retrieve its private REST API key from the Console, and call the documented endpoints from your backend. Never expose the API key in browser or mobile client code.