---
title: "Start the OIDC flow to elevate an existing client session (browser)."
method: GET
path: "/auth/oidc/elevate"
tags: ["oidc"]
---

# Start the OIDC flow to elevate an existing client session (browser).

`GET /auth/oidc/elevate`

Redirects the user to the OIDC provider's authorization endpoint. After
successful authentication, the referenced client session is elevated for
the requested duration.

## Query parameters

- `id` integer, required
- `durationSeconds` integer, required

## Response `default`

Error

- Error — The Error contains error relevant information.
  - `error` string, required — The general error message
  - `errorCode` integer, required — The http error code.
  - `errorDescription` string, required — The http error code.

## Other responses

- `302` — Redirect to OIDC provider

## Changes

> 55 revisions in range; 2 not diffed.

- **2026-04-26** `17a6b7941da0` — 1 info
  - endpoint added
- **2026-04-19** `6d2ba66a7798` — 1 breaking
  - api path removed without deprecation
- **2026-04-11** `1f9975384d55` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gotify/apis/gotify-rest-api/changes/auth/oidc/elevate/get.md)

---

[API](https://skmtc.dev/gotify/apis/gotify-rest-api.md) · [All operations](https://skmtc.dev/gotify/apis/gotify-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gotify/gotify-rest-api/revisions/757d7e98d83c/schema)
