---
title: "Callback from KavitaPlus."
method: GET
path: "/api/OAuth/callback"
tags: ["OAuth"]
---

# Callback from KavitaPlus.

`GET /api/OAuth/callback`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/OAuth/callback`
- Auth: API key in header `x-api-key`

## Query parameters

- `upstream` 0 | 1 | 2 | 3 | 4: Members: - `0` — Discord - `1` — MangaBaka - `2` — AniList - `3` — MyAnimeList - `4` — Hardcover
- `token` string
- `apiKey` string
- `refreshToken` string
- `expiresIn` integer

## Response `200`

OK

## Changes

- **2026-09-01** `e7ced995b077`: 2 info
  - added the new optional `query` request parameter `expiresIn`
  - added the new enum value `4.00` to the `query` request parameter `upstream`
- **2026-06-20** `be571b55ea7e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/OAuth/callback/get.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
