---
title: "Export session"
method: POST
path: "/export-session-as-pdf"
---

# Export session

`POST /export-session-as-pdf`

This endpoint allows you to export data related to a specific session as a downloadable PDF document. You can choose to include the full session details, screening results, and/or proof of address documents. At least one export option must be set to `true`.

**Parameters:**
-   `companyKey` _(string, required)_ - The company's secret key.
-   `sessionId` _(string, required)_ - The unique identifier of the session.

One of the following parameters must be set to `true` for the operation to proceed:
-   `exportSession` _(boolean, optional)_ – Indicates whether to export the full session data.
-   `exportScreening` _(boolean, optional)_ – Specifies whether to include screening results in the export.
-   `exportProofOfAddress` _(boolean, optional)_ - Determines whether to include proof of address documents in the export.

## Request body

- ExportSessionAsPdf
  - `sessionId` string
  - `companyKey` string
  - `exportSession` boolean
  - `exportScreening` boolean
  - `exportProofOfAddress` boolean

## Response `200`

Success

- ExportSessionAsPdfResponse
  - `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)
