---
title: "Get the Prembly NIN photo of a session"
method: POST
path: "/get-session-prembly-photo"
---

# Get the Prembly NIN photo of a session

`POST /get-session-prembly-photo`

## Request

- Base URL: `https://external-api.identomat.com`
- URL: `https://external-api.identomat.com/get-session-prembly-photo`
- Auth: none declared

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.

## Request body

- GetSessionPremblyPhoto
  - `companyKey` string
  - `sessionId` string

## Response `200`

Success

- GetSessionPremblyPhotoResponse
  - `result` string

## Other responses

- `400`: ArgumntError

## Changes

- **2026-11-05** `3cf2844de3b8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/identomat/apis/generated-api/changes/get-session-prembly-photo/post.md)

---

[API](https://skmtc.dev/identomat/apis/generated-api.md) - [All operations](https://skmtc.dev/identomat/apis/generated-api/llms.txt) - [OpenAPI document](https://skmtc.dev/identomat/apis/generated-api/revisions/3cf2844de3b8?raw)
