Face Search Upload
API to upload necessary images.
Request
-
Endpoint:
/v1/api/ekyc-verify/upload/face-search
-
Method: POST
-
Header
Name Type Required Description api_key string yes The API key associated with your account to authenticate requests (for development, check the Credentials section). -
Parameters
Name Type Required Description session_id string yes Current session ID. image_type string (enum) yes Supported image types (of submitted images):
- Selfie image: selfie
-
Body
-
Type: application/json
-
Data:
Name Type Required Description image_bytes binary yes Uploaded image.
-
Response
-
Status:
200 OK
-
Body: JSON
{
"code": 0,
"message": "Successful",
"data": "<ENCRYPTED_DATA_IN_BASE64>"
}-
Field “data”: Decrypt the “data” field as described in the Decrypt response data section to get the JSON object with following fields.
Name Type Description photo_id number ID of the uploaded image.
-