Add a new face
Upload and store a new facial image within a specific collection
Request
Headers
Body Parameters
Response
Success Response (200)
Error Responses
Bad Request (400)
- 6010: CollectionId is required
- 6011: WorkspaceId is required
- 6012: Fail to add face
- 6013: Cannot find collection info
- 6014: This collection is unavailable
- 6015: Failed to validate liveness of face
- 6016: Image size is too large
- 6017: Unsupported image format
Forbidden (403)
- API Key is required
- Access Denied: API Key is unavailable
Authorizations
Body
Unique identifier of the collection where the face will be added
"col_123456789"
Name associated with the face being added to the collection
"John Doe"
Base64-encoded string representation of the face image
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."
Response
Face successfully added to collection
Success message
"Face added successfully"
Unique identifier for the face submission
"face_123456789"
Unique identifier corresponding to the metadata of the face submission
"meta_123456789"
Additional options and metadata for the face submission