Get the Prembly NIN photo of a session

Changed on

This endpoint allows you to retrieve the photo returned by the Prembly NIN Basic check of a specific session.

The photo is available when prembly.photoFileId is present in the session result.

Parameters:

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

Request

  • Base URL
    https://external-api.identomat.com
  • Auth
    none declared

Request body

companyKeystring
sessionIdstring

Example request

{
  "companyKey": "61e0168e4a324c6077636306_8560ad4d6d9dc4e04d3754f3dfee130b07c59fcd",
  "sessionId": "example-session-id-12345"
}

Response

Success

resultstring

Example response

{
  "result": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ=="
}

Changes