# refreshSession

Source: <https://telegafirst.com/docs/api-op-refreshsession>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 8fb227b52456b1116b28c3b5d722a27f9c420d7c25b39d9456b9a0f52ef98733
Version: 2

# refreshSession

`POST /api/v1/sessions/refresh`

refreshSession

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

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.description | "Required for a nonempty POST body by the canonical24-hour HTTP response receipt." |
| 0.in | "header" |
| 0.name | "Idempotency-Key" |
| 0.required | true |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-9ac136edb99a2063b3091602181c8d2022fdccb5b514991319d58544c2e57e95) |

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

| Поле | Значение |
| - | - |
| content.application/json.schema | [RefreshRequest](https://telegafirst.com/docs/schema-2fe859148c28fd9d0b10b8ea569c49fb88063ffd57b4343a73d90eb76ed0a2d8) |
| required | true |

## Ответы

| Поле | Значение |
| - | - |
| 201.content.application/json.schema | [RefreshResponse](https://telegafirst.com/docs/schema-54340b6c6ac2b5d2dff618aac2a25dd991b690e436d46957193b380f86f089f3) |
| 201.description | "Rotate refresh token" |

## Ошибки

| Поле | Значение |
| - | - |
| 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 | "refreshSession" |
| tags | \["sessions"] |
| x-idempotency | "http-cache" |
