auth

Sign in using a Jellyfin username and password

Takes the user's username and password to log the user in. Generates a session cookie for use in further requests. If the user does not exist, and there are no other users, then a user will be created with full admin privileges. If a user logs in with access to the Jellyfin server, they will also have an account created, but without any permissions.

post/auth/jellyfin

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/auth/jellyfin
  • Auth: none required

Request body

usernamestring required
passwordstring required
hostnamestring
emailstring
serverTypenumber

Response

OK

idinteger required
emailstring required
usernamestring
plexUsernamestring
plexTokenstring
jellyfinAuthTokenstring
userTypeinteger
permissionsnumber
avatarstring
createdAtstring required
updatedAtstring required
requestCountnumber

Example response

{
  "id": 1,
  "email": "hey@itsme.com",
  "userType": 1,
  "createdAt": "2020-09-02T05:02:23.000Z",
  "updatedAt": "2020-09-02T05:02:23.000Z",
  "requestCount": 5
}

Changes

No recorded changes to this operation across all 21 revisions of this API.