---
title: "Update authentication details for the given provider"
method: POST
path: "/api/Scrobbling/update-user-scrobble-provider"
tags: ["Scrobbling"]
---

# Update authentication details for the given provider

`POST /api/Scrobbling/update-user-scrobble-provider`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Scrobbling/update-user-scrobble-provider`
- Auth: API key in header `x-api-key`

Kicks of a sync background job, listen on signalr for when it completes

## Request body

- UpdateScrobbleProviderDto
  - `provider` 0 | 1 | 2 | 4 | 5 | 6, required: Members: - `0` — Kavita - `1` — AniList - `2` — Mal - `4` — Cbr - `5` — Hardcover - `6` — MangaBaka
  - `userName` string, nullable
  - `authenticationToken` string, nullable
  - `refreshToken` string, nullable

## Response `200`

OK

## Changes

- **2026-06-20** `be571b55ea7e`: 3 info
  - added the new optional request property `refreshToken` (media type: application/json)
  - added the new optional request property `refreshToken` (media type: text/json)
  - added the new optional request property `refreshToken` (media type: application/*+json)
- **2026-06-05** `095d20153db4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Scrobbling/update-user-scrobble-provider/post.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)
