DeveloperAPI ReferenceAdapterJellyfinUsersAuthenticatebyname
Authenticate with username + password
Username/password login flow used by every mainstream Jellyfin client. Returns an opaque access token to send in subsequent X-Emby-Token headers or ?api_key= query params.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/adapter/jellyfin/Users/AuthenticateByName" \ -H "Content-Type: application/json" \ -d '{ "Username": "string", "Pw": "string" }'{
"User": {
"Id": "string",
"Name": "string",
"ServerId": "string",
"HasPassword": true,
"HasConfiguredPassword": true,
"HasConfiguredEasyPassword": true,
"EnableAutoLogin": true,
"LastLoginDate": "string",
"LastActivityDate": "string",
"Configuration": {
"AudioLanguagePreference": "string",
"PlayDefaultAudioTrack": true,
"SubtitleLanguagePreference": "string",
"DisplayMissingEpisodes": true,
"GroupedFolders": [
"string"
],
"SubtitleMode": "Default",
"DisplayCollectionsView": true,
"EnableLocalPassword": true,
"OrderedViews": [
"string"
],
"LatestItemsExcludes": [
"string"
],
"MyMediaExcludes": [
"string"
],
"HidePlayedInLatest": true,
"RememberAudioSelections": true,
"RememberSubtitleSelections": true,
"EnableNextEpisodeAutoPlay": true,
"property1": null,
"property2": null
},
"Policy": {
"AuthenticationProviderId": "string",
"PasswordResetProviderId": "string",
"IsAdministrator": true,
"IsHidden": true,
"IsDisabled": true,
"EnableUserPreferenceAccess": true,
"EnableRemoteAccess": true,
"EnableLiveTvAccess": true,
"EnableMediaPlayback": true,
"EnableAudioPlaybackTranscoding": true,
"EnableVideoPlaybackTranscoding": true,
"EnablePlaybackRemuxing": true,
"EnableContentDeletion": true,
"EnableContentDownloading": true,
"EnableSyncTranscoding": true,
"EnableMediaConversion": true,
"EnableAllFolders": true,
"EnableAllChannels": true,
"EnableAllDevices": true,
"EnablePublicSharing": true,
"EnableCollectionManagement": true,
"EnableSubtitleManagement": true,
"EnableLyricManagement": true,
"property1": null,
"property2": null
},
"PrimaryImageTag": "string",
"PrimaryImageAspectRatio": 0,
"property1": null,
"property2": null
},
"SessionInfo": null,
"AccessToken": "string",
"ServerId": "string"
}{
"error": "string"
}{
"error": "string"
}