/login-request

Login using socket Id

This API is used to make a request for login from authorizer to requestor, when the authorizer clicks on that request-login link then you need to open a webpage and open the camera for capturing live face image and Hit this API to provide access to the requestor.

*This API requires adding one js file provided by us which will can be editable according to client needs, this will enable to created of a socket connection between client and our server.

POST https://sdk.faceki.com/facelink/request/login-request

Headers

NameTypeDescription

Content-Type:*

String

application/json

authorization:*

String

Bearer [token]

Request Body

NameTypeDescription

socket_id*

String

{

"socket_id": "a12bc123-a1b2-12ab-123a-123456abcd1",

"image": "file.jpg"

}

selfie_image*

File

{
  "user": {
    "mobile_number": 97312345678,
    "confidence": 99.99998474121094,
    "_id": "600f2d1e87c04d61076fcb7d",
    "face_id": "93047109-6615-4ac0-9f05-679529ba6cbd",
    "image_id": "3a948e2d-6a83-336c-8bf6-600d758510a1",
    "client_id": "a12bc123-a1b2-12ab-123a-123456abcd1",
    "email": "name@domain.com",
    "name": "Full Namw",
    "createdAt": "2021-01-25T20:42:06.696Z",
    "updatedAt": "2021-01-25T20:42:06.696Z",
    "__v": 0
  },
  "face_id": "93047109-6615-4ac0-9f05-679529ba6cbd",
  "image_id": "3a948e2d-6a83-336c-8bf6-600d758510a1"
}

Last updated