Skip to main content

Lookup

lookup matches a face against enrolled identities using a multipart/form-data upload — send the cropped/aligned face (and optionally precomputed embeddings) as files rather than base64 JSON. It returns the matched person, if any.

API Endpoint

  • HTTP Method: POST
  • Endpoint: /api/v1/faceEdge/lookup
  • Base URL (Cloud): https://customername.econnectcloud.com/identities
  • Base URL (On-prem): https://<server-host-or-ip>:5009
  • Content-Type: multipart/form-data

Authentication

Requires a JWT bearer token. See Authentication.

Minimum Permission

The permission name and category below are what you'll see in the Identities web app under System → System settings → Roles.

PermissionCategory
Face RecognizeFacial Recognition Services

Request

A multipart/form-data upload. The form fields are eConnect edge-model inputs — see Advanced below.

Code Examples

API_URL="https://customername.econnectcloud.com/identities"
TOKEN="your_jwt"

# multipart/form-data upload - send the files directly (no base64 needed).
curl -sk -X POST "$API_URL/api/v1/faceEdge/lookup" \
-H "Authorization: Bearer $TOKEN" \
-F "CroppedAligned=@cropped-aligned.jpg" \
-F "Embeddings=@embeddings.bin" \
-F "RecognitionModel=arcface" | jq

Response

200 OK — an EdgePerson (same shape as recognize):

{
"faceId": "5f9c2b7a-3e41-4d8a-9b6c-1a2b3c4d5e6f",
"personId": "0a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
"firstName": "Jane",
"lastName": "Doe",
"tags": [{ "name": "VIP" }]
}

Response Codes

CodeMeaning
200 OKA match was found; the EdgePerson is returned.
404 Not FoundNo face found in the image, or no person matched.
401 UnauthorizedMissing or invalid JWT.
403 ForbiddenThe user lacks the Face Recognize permission.

Advanced

eConnect edge-model inputs (multipart/form-data)

These inputs are highly proprietary and produced by eConnect's own edge models. This endpoint is intended for eConnect edge deployments rather than general partner integrations.

FieldTypeRequiredDescription
CroppedAlignedfileYesThe cropped/aligned face image to match.
EmbeddingsfileNoPrecomputed embeddings as a binary blob.
RecognitionModeltextNoRecognition model name.