curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/face-upload/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image": "/9j/4AAQSkZ...", "comment": "Known fraudster"}'
{
"uuid": "a1b2c3d4-...",
"value": "face-uuid-here",
"display_label": "",
"comment": "Known fraudster",
"added_by": "api",
"reference_session_id": null,
"reference_session_number": null,
"reference_object_uuid": "face-uuid-here",
"metadata": {
"reference_image_url": "https://..."
},
"created_at": "2025-06-09T12:26:54Z"
}
Upload a face image to add it directly to a face blocklist.
curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/face-upload/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image": "/9j/4AAQSkZ...", "comment": "Known fraudster"}'
{
"uuid": "a1b2c3d4-...",
"value": "face-uuid-here",
"display_label": "",
"comment": "Known fraudster",
"added_by": "api",
"reference_session_id": null,
"reference_session_number": null,
"reference_object_uuid": "face-uuid-here",
"metadata": {
"reference_image_url": "https://..."
},
"created_at": "2025-06-09T12:26:54Z"
}
entry_type: face.
reference_session_id instead — the backend handles the biometric extraction automatically and links the entry back to the session.| Field | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Base64-encoded face image (JPG, PNG, or WebP) |
comment | string | No | Comment or reason for blocklisting |
curl -X POST "https://verification.didit.me/v3/lists/{list_uuid}/entries/face-upload/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image": "/9j/4AAQSkZ...", "comment": "Known fraudster"}'
{
"uuid": "a1b2c3d4-...",
"value": "face-uuid-here",
"display_label": "",
"comment": "Known fraudster",
"added_by": "api",
"reference_session_id": null,
"reference_session_number": null,
"reference_object_uuid": "face-uuid-here",
"metadata": {
"reference_image_url": "https://..."
},
"created_at": "2025-06-09T12:26:54Z"
}