For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search User Blacklist

Performs a 1:N Facial Recognition search within the shared blacklist. Returns the matching users that meet the configured similarity threshold.

Privacy Notice: Only the client that originally registered a face will receive the userId in the response. Other clients will only see the similarity score.

Endpoint

POST /users/blacklist/search

Authentication

Type
Location
Name

API Key

Header

x-api-key

Request body

Content-Type: application/json

Parameters

Parameter
Type
Required
Description

face

string

Yes

User's face image encoded in Base64. Supported formats are JPEG and PNG. Maximum supported size: 5MB.

threshold

number

No

Value that specifies the minimum confidence in the facial match to return a result. The default value is 80%.

Request example

{
  "face": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",
  "threshold": 75.5
}

Responses

200 Success

Response parameters

Parameter
Type
Description

matches

array

Array of matching users sorted by similarity score from highest to lowest.

matches[].userId

string

Unique identifier of the matching user. This field is only filled in for the client that originally registered the face. Other clients will receive an empty value.

matches[].similarity

number

Similarity score between 0 and 100, indicating the confidence of the match.

Response example

400 Bad Request

401 Unauthorized

403 Forbidden

404 Not Found

Last updated