# getSession

Source: <https://telegafirst.com/docs/api-op-getsession>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 81e9575df1698c5fe1d25cb97927b96449afa9c5d43b649fc7349b67ee7b1571
Version: 2

# getSession

`GET /api/v1/sessions/{id}`

getSession

## Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

| Поле | Значение |
| - | - |
| security.0.hubApiKey | \[] |
| security.1.hubBearer | \[] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | \[] |

## Параметры запроса

| Поле | Значение |
| - | - |
| 0.in | "path" |
| 0.name | "id" |
| 0.required | true |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-44b2ecffc8606ad9705131859fa57980c41eaf5d5e35ecd101822dc2c2eb6523) |

## Тело запроса

| Поле | Значение |
| - | - |
| Тело запроса | null |

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [GetSessionResponse](https://telegafirst.com/docs/schema-c6888760e184cef8f134560d45575559f6e1d385b3593096f43e0928b6afe423) |
| 200.description | "Get external session" |

## Ошибки

| Поле | Значение |
| - | - |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 401.description | "Missing, invalid, expired or revoked authentication" |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 403.description | "Required scope, plan or resource policy refused the caller" |

## Дополнительные условия

| Поле | Значение |
| - | - |
| operationId | "getSession" |
| tags | \["sessions"] |
| x-idempotency | "none" |
