---
title: "Get session configuration"
method: POST
path: "/get-session-config"
---

# Get session configuration

`POST /get-session-config`

This endpoint retrieves the configuration details for a specific session configuration based on the given session config ID.

**Parameters:**

-   `companyKey` _(string, required)_ - The company's secret key.
-   `sessionConfigId` _(string, required)_ – The unique identifier for the session configuration.

## Request body

- GetSessionConfig
  - `companyKey` string
  - `sessionConfigId` string

## Response `200`

Success

- GetSessionConfigResponse
  - `result` object
    - `id` string
    - `name` string
    - `general` object
      - `language` string
      - `sessionLifetime` number
    - `steps` object[]
      - `title` object
        - `en` string
      - `type` string
      - `key` string
      - `flags` object
        - `documentTypes` 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)
