---
title: "Get face photo from main document"
method: POST
path: "/get-session-main-document-face-photo"
---

# Get face photo from main document

`POST /get-session-main-document-face-photo`

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.

## Request body

- GetSessionMainDocumentFacePhoto
  - `companyKey` string
  - `sessionId` string

## Response `200`

Success

- GetSessionMainDocumentFacePhotoResponse
  - `result` string

## Other responses

- `400` — ArgumntError

---

[API](https://skmtc.net/identomat/apis/generated-api.md) · [All operations](https://skmtc.net/identomat/apis/generated-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/identomat/generated-api/revisions/cda4b2b11372/schema)
