latestOpenAPI 3.0.32026-08-12367267.0 KB

cda4b2b11372

Get face photo from main document

This endpoint allows you to retrieve the face photo from the main document associated with a specific session.

Parameters:

  • companyKey (string, required) - The company's secret key.
  • sessionId (string, required) - The unique identifier of the session.
post/get-session-main-document-face-photo

Request body

companyKeystring
sessionIdstring

Example request

{
  "companyKey": "your-company-secret-key",
  "sessionId": "example-session-id-12345"
}

Response

Success

resultstring

Example response

{
  "result": "data:text/plain;base64String"
}