Jellyfin Forum
API Keys - how to use? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: API Keys - how to use? (/t-api-keys-how-to-use)



API Keys - how to use? - jellyfin - 2025-11-28

I generated an API key to be able to start rescans of the libraries or a specific library from scripts.
But I cannot find the required syntax to actually trigger that.

For example, with Syncthing, you can use the REST API like this:

curl -X POST -H "X-API-Key: <API_KEY>" -k "https://127.0.0.1:8384/rest/db/scan?folder=FOLDER&sub=SUB_FOLDER"

How to do something like this with Jellyfin?