Request
Headers
The API key used for authentication and access control. This header parameter is required for authorization.
Body Parameters
Unique identifier of the collection where the face will be added.
Name that matches the face image
Base64-encoded string representation of the face image.
Response
Success Response (200)
A message indicating the success or error result
Identifier for the search request.
Name corresponding to the face image for the search operation.
Additional options and settings:option_liveness: Indicates whether the liveness option is enabled or disabled in the settings.liveNess_threshold: Threshold value for the liveness option, as configured in the Search Face threshold settings.liveNessScore: Score representing the result of the liveness check.policy_similarity: Threshold value for similarity option.
List of face IDs that match the search criteria. Each item in the array is a unique identifier for a face submission.
Error Responses
Bad Request (400)
Identifies the specific error for troubleshooting:
- 6030: CollectionId is required
- 6031: RequestName is required
- 6032: faceImage is missing
- 6033: If the collection information doesn’t exist
- 6034: The collection has already been deleted
- 6035: When a liveness error occurs
- 6036: Image is too large
- 6037: Image is not formatted correctly
- 6038: Unspecified errors
Briefly describes the error. Please refer to the error code for details.
Forbidden (403)
Identifies the specific error for troubleshooting:
- 6039: API Key is required
- 6040: Access Denied: API Key is unavailable
Briefly describes the error. Please refer to the error code for details.
Authorizations
Body
application/json